How to get shallow routing working with dialogs? #769
-
For example when I do this:
or if I make a derived store with a custom set using history.back() and pushState... anyway I just can't figure out a way that works. It's all very weird. Nothing works properly One thing to note: when history.back() is run, it seems to cause .state.showModal to update with the same state before reverting to the previous state. Only thing that comes to mind is if the internal state setting was allowed to be controlled by the consumer, and they could just listen to events rather than having it handled by the inside. But that's not how the lib works at the moment. EDIT: Well, of course could just use melt. Just wanted to know if it was a skill issue |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Check this |
Beta Was this translation helpful? Give feedback.
-
I'm curious how this can integrate with formkit. I'm not sure where to define my form data |
Beta Was this translation helpful? Give feedback.
Check this
https://www.youtube.com/watch?v=B19DEGEclfk