Q) In the React SDK, is it possible to separate the initialization, like in the Node.js API? In other words, initialize without getting flags and then get flags later?

A) Yes, there's a preventFetch option in flagsmith.init for this exact usecase. Then you can call identify/getFlags whenever you want.
Was this article helpful?
Cancel
Thank you!