---
title: "Dave Parsons (@davepar) | Hashnode"
description: "Python and Svelte enthusiast. Read the latest articles by Dave Parsons on Hashnode."
url: "https://hashnode.com/@davepar"
---

@davepar

# Dave Parsons

@davepar · someplace sunny (currently Tuc · Joined May 2022

Python and Svelte enthusiast.

## Comments

[Great article! I didn't know about ConfigCat. Looks like a cool service. Two suggestions. Read the API key from the runtime environment. It shouldn't be in the code. https://kit.svelte.dev/docs/modules#$env-dynamic-public I think as currently written the user could briefly see the "oops" message before the feature flag is loaded. Does creating the configCat client and reading the feature flag need to be in onMount? Realistically, the client would be shared among components, so probably created in a separate file.](https://hashnode.com/posts/how-to-implement-and-use-feature-flags-in-a-svelte-application/63bda53f24813d9e407819c3/comment/63c06b70a54681f9eea77a81)

Comment · Article · Jan 12, 2023 · [How to Implement and use Feature Flags in a Svelte Application](https://hashnode.com/posts/how-to-implement-and-use-feature-flags-in-a-svelte-application/63bda53f24813d9e407819c3)

[Nice article! I agree with your sentiments about Supabase. I've been using it for a few weeks on a project, and it has good parts and bad parts. You're right the JS client is fairly worthless for anything but toy projects and is more difficult than just writing native SQL statements, which you can luckily do in Postgres functions. One comment about doing complex calculations on the server. You don't have to do those in SQL. There's a "PLV8" extension available for Postgres on Supabase that lets you write JS functions. I haven't tried that yet, but sounds like a good option. Or you can write complex functions in PLPGSQL, the native Postgres language (which is pretty ugly IMHO).](https://hashnode.com/posts/supabase-the-good-parts/637f7aae0a16a8a38475d40a/comment/63896c33a347f35e460d1908)

Comment · Article · Dec 2, 2022 · [The good parts of Supabase](https://hashnode.com/posts/supabase-the-good-parts/637f7aae0a16a8a38475d40a)
