What are signals in Solid.js?
In Solid.js, signals are a reactive primitive used to manage state. They consist of a getter and a setter function that encapsulate a value, allowing for fine-grained reactivity by notifying subscribed effects of changes.