Articles on: Best Practices

In the React SDK, is it possible to separate the initialization, like in the Node.js API?

Yes, there's a preventFetch option in flagsmith.init for this exact usecase. Then you can call identify/getFlags whenever you want.

This option makes possible to separate the initialization, like in the Node.js API. In other words, initialize without getting flags and then get flags later.

Updated on: 29/09/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!