Open nikolas opened 1 year ago
Had a similar issue, it was throwing this warning during build.
Was able to fix it; it seems to be working and behaving fine after adding this line to /node_modules/sveltestrap/src/Modal.Svelte but I'm not confident enough to file a PR for it and could use a second opinion or two before doing so.
I am a React user, and am having trouble understanding how and when values get updated in svelte. I'm just trying to pass a value into a component updated via a user action. Here are the basics of my code:
So, what am I doing wrong here? The
currentPollType
prop is alwaysnull
in the child component. If I put<PollResponses>
outside the Modal, it updates as expected.StackOverflow issue: https://stackoverflow.com/q/74868657/173630