Using GrowthBook in Remix (WIP)

Using GrowthBook in Remix (WIP)
Photo by Joshua Reddekopp

While I was developing a Remix project, my teammate asked me if I could remove a feature for some reason ASAP. I commented out sections of my code and pushed a new commit to GitHub, then waited for Cloudflare Pages to build the project and deploy. I thought, this was probably not optimal, and as this situation could happen in the future, it was the right time to introduce feature switches. I chose GrowthBook for its simplicity. However, I then discovered that it does not provide an official guide or example for Remix. Despite there were examples for React and Next.js, with the latter including specific instructions for server side rendering similar to that of Remix, some specific adjustments have to be made for a Remix project.