DEV Community

Felix Razykov
Felix Razykov

Posted on

What is your way of rendering the UI parts based on Feature Toggle/Flag in React Apps?

Discussion (2)

Collapse
okbrown profile image
Orlando Brown • Edited

Hi, there are multiple ways to go about this, in my experience I ended up progressing in this order.

  • using configs : though this can grow out of control and requires re-deployments
  • using a service like launchdarkly.com : great for small projects that can pay for it self and has an amazing real time experience, but can become costly over time as your user base grows
  • run your own service like unleash.github.io : I use this for all my projects now, requires a little bit of setup, especially around strategies and how best to persist and update toggles but worth the effort.

Hope you find this useful.

Collapse
ivarconr profile image
Ivar Conradi Østhus

Hi, I am the author of Unleash. Awesome to hear you are using Unleash and find it useful!

I would like to point out that we also have a hosted SaaS offering of Unleash now, with additional functionality. In particular we have added a proxy option for dealing with frontend apps.

unleash-hosted.com/articles/the-un...