It happens all over the place, this time dioxus. But it happened to me with django too.

There is one way to create a context that automatically passes to your child components. There is a different way to create persistent data that uses LocalStorage. But you cannot just combine these.

And Copilot has no idea how to stick with version 0.6, even when yelled at it puts code in there that cannot compile because that isn't how they do it anymore.

Reply to this note

Please Login to reply.

Discussion

And the 'basic' way is to pass props, but you cannot pass props through a Router with a Nav (at least no example combines these things and the compiler hates it).