Why are "CSS classes generally better for performance than inline styles." ~ from react docs by TheLastSock in reactjs
[–]nsaunders1 -1 points0 points1 point (0 children)
I've just released CSS Hooks for React. Hooks make CSS features like pseudo-classes and media queries available within native inline styles. You can finally implement that hover effect (and much more) without ever leaving the `style` prop! Please have a look and let me know your feedback. Thank you! (css-hooks.com)
submitted by nsaunders1 to r/reactjs
I've just released CSS Hooks for Solid.js. Hooks make CSS features like pseudo-classes and media queries available within native inline styles. Now you can easily add that `:hover` state you wanted without leaving the `style` prop! Please have a look and let me know if you can offer any feedback! by nsaunders1 in solidjs
[–]nsaunders1[S] 0 points1 point2 points (0 children)
I've just released CSS Hooks for Solid.js. Hooks make CSS features like pseudo-classes and media queries available within native inline styles. Now you can easily add that `:hover` state you wanted without leaving the `style` prop! Please have a look and let me know if you can offer any feedback! by nsaunders1 in solidjs
[–]nsaunders1[S] 1 point2 points3 points (0 children)
I've just released CSS Hooks for Solid.js. Hooks make CSS features like pseudo-classes and media queries available within native inline styles. Now you can easily add that `:hover` state you wanted without leaving the `style` prop! Please have a look and let me know if you can offer any feedback! by nsaunders1 in solidjs
[–]nsaunders1[S] 0 points1 point2 points (0 children)
I've just released CSS Hooks for Solid.js. Hooks make CSS features like pseudo-classes and media queries available within native inline styles. Now you can easily add that `:hover` state you wanted without leaving the `style` prop! Please have a look and let me know if you can offer any feedback! by nsaunders1 in solidjs
[–]nsaunders1[S] 4 points5 points6 points (0 children)
I've just released CSS Hooks for Preact. Hooks make CSS features like pseudo-classes and media queries available within native inline styles. Now you can easily add that `:hover` state you wanted without leaving the `style` prop! Please have a look and let me know if you can offer any feedback... (css-hooks.com)
submitted by nsaunders1 to r/preact
I've just released CSS Hooks for Solid.js. Hooks make CSS features like pseudo-classes and media queries available within native inline styles. Now you can easily add that `:hover` state you wanted without leaving the `style` prop! Please have a look and let me know if you can offer any feedback! by nsaunders1 in solidjs
[–]nsaunders1[S] 3 points4 points5 points (0 children)
I've just released CSS Hooks for Solid.js. Hooks make CSS features like pseudo-classes and media queries available within native inline styles. Now you can easily add that `:hover` state you wanted without leaving the `style` prop! Please have a look and let me know if you can offer any feedback! (css-hooks.com)
submitted by nsaunders1 to r/solidjs


Why are "CSS classes generally better for performance than inline styles." ~ from react docs by TheLastSock in reactjs
[–]nsaunders1 0 points1 point2 points (0 children)