How to delay configure / reset / update flags? #545
-
Heya, apologies if this is a basic (aka naive) question. I'm just thinking through a scenario. Say you're using How would you do this? I've played around with Another consideration, you might also need to reset the flags configuration, i.e. if the browser is reloaded. What do you think? Is my question valid here in this context and is it something you would do with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Keep your list of flags somewhere (like in a state) and pass them to FlagsProvider. When they change your components depending on them will re-render and update to the new flags. |
Beta Was this translation helpful? Give feedback.
Keep your list of flags somewhere (like in a state) and pass them to FlagsProvider. When they change your components depending on them will re-render and update to the new flags.