Improved 'Env' Environment Variables (bdk)

I’ve found the ‘Env’ Environment Variables (bdk) plugin really helpful to simplify workflows around reusable elements. It has a couple of drawbacks though:

  • It doesn’t work for lists.
  • There’s no simple & clean way to raise events in other reusable elements or on your page without changing the variable. For example, if you want to do something when a button is clicked.

If you’ve come across the same problems, I’ve written a plugin called Shared State for you.