Losing Reactivity When I Import Solid Component in Lib
I made a reproduction of a problem I'm having when I import components as a lib from another package in my monorepo.
https://github.com/captDaylight/solid-web-component/tree/main
There are two packages,
The
To be sure that the code I'm using is correct, I have the exact same
https://github.com/captDaylight/solid-web-component/tree/main
There are two packages,
app and solid-components . I'm trying to import the latter (which has two components Counter and Dialog) into app. The
Counter component works as expected, all of the interaction is happening inside of the component. However, the Dialog component isn't reacting to the open() signal that I'm passing to it... or rather it's setting to the initial value but not reacting when I use setOpen(true).To be sure that the code I'm using is correct, I have the exact same
App.tsx logic in the solid-components. In there, everything is working as expected.
GitHub
Contribute to captDaylight/solid-web-component development by creating an account on GitHub.
