DEV Community

Discussion on: Converting a React Component to SolidJS

Collapse
 
uminer profile image
Moshe Uminer

No, not that I'm aware of. Interestingly, it is only possible for deferred to work with an explicit dependency array like react. Solid needs to know which signals to track, which it usually does by running the effect once and tracking the signals read - something it resets and does every time. The on let's you specify explicitly, so it becomes possible to use deferred.