createEffect dependency
I wanna run an effect each time a signal changes but I don't need to use the signal inside the function of the effect, something like in react useEffect which is the dependency array, is there a way to tackle this use case in solid useEffect?
4 Replies
Yeah, there is on: https://www.solidjs.com/docs/latest/api#on
SolidJS
Solid is a purely reactive library. It was designed from the ground up with a reactive core. It's influenced by reactive principles developed by previous libraries.
I think that is what you want
Yes that's the one, thank you so much.
Np, happy to help 🙂