Anyone had issues with context using PlasmicComponent

Has anybody had issues with context using PlasmicComponent?

  <PlasmicComponent component="Modal" componentProps={{ children: <Form /> }} />

From what I can tell <Form />, which maintains it’s own state, gets it’s state wiped whenever it updates <ContextProvider>

I read somewhere that setting children: <Form /> will create a new form on every render. I tried a few different useMemo setups with no avail

does anybody have a similar setup that could share how it was put together?

We use contexts quite a bit in the Supabase demo

Does this help?

yes thank you very much i’ll dig in here

Did you ever figure out a clear answer to this? I’m poking around the same problem