Props Reactivity to Signal and Signal Change to the props

Hi people, does someone ever face to the problem of passing props reactivity to an internal state and have to bubble up the change of internal change to the props. Like Modal Component that have a internal function to close (because the close button is inside) and a prop to say "Hey yo should open based on an external behavior"
1 Reply
high1
high12y ago
So there should be no issues there - Solid is strict in separating reads and updates to the state - so if you want to update some state, you need to pass the update function. But maybe I'm missing something, so it'd be best if you have a small example.
Want results from more Discord servers?
Add your server