The Unleash-Proxy API
The Unleash-Proxy has a very simple API. It takes the Unleash Context as input and will return the feature toggles relevant for that specific context.
What about single page apps?
One thing we have been facing when developing single page apps is the need for consistency while rendering. This becomes even more important when you deal with single-page apps which performs the initial rendering on the server-side and re-hydrates in the browser. In this scenario it will be crucial that the rendering on the server operates on the exact same feature flags state as the client side. Luckily there is ways to solve this and we at Unleash-hosted helps our customers in solving the best approaches for them.