Synchronized events

I was writing some scripts to attach i18next to Bubble. Long story short, we have to ensure the library is loaded, i18next is initialized before rendering the page. I handle this by creating a custom component to check whether i18next is ready, optionally load some more namespaces, finally expose an is_ready state. The remainder of the page should only be visible when the Loader component says everything is kosher.

[Read more]

Haskell99 from a JS background Pt.1

In an attempt to bend my brain and learn Functional Programming, I started with Haskell. This is an ongoing document of me trying to solve the H99: Ninety-nine Haskell Problem. Every challenge here has solutions provided by the community, and I’ll try and reason those code using syntax of JavaScript. You can actually see my progress throughout this series, where I struggle to understand even the simplest function composition in the first few questions.

[Read more]

Building Bubble.io Elements using WebComponent

CitizenDev had released about 20 plugins on to Bubble.io Marketplace. Bubble give us a “working” SDK to develop custom elements, actions, in order to make up for the lack thereof natively in Bubble. However, a “working” SDK is what it is, and working with this SDK is a horrible development experience by 2023 standard.

[Read more]