Replies: 1 comment
-
One of my first mistakes with Svelte was placing generic modals in the layout and having different pages pop up that modal with page-specific information. These modals would sometimes survive page changes, and managing state became tricky. I eventually learned to embed the modal on/off logic separately in each page that having a modal. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For example, I would like to know about some inconvenient precautions such as making and using DOM by myself, or managing all states as a store.
Beta Was this translation helpful? Give feedback.
All reactions