I'm learning SolidJS coming from React. I'm taking notes here on things that trip me up in the process.
- Don't destructure props. It breaks reactivity with signals passed down as props.
- Use
untrack()
to reference signal values in an effect without rerunning the effect when those signals change. Might be a less common use case? (Mine was referencing updated signal values in an interval started by the effect).