News for hackers. Stuff that matters.
Re:Tailwind CSS v3.3 by pcthrowaway on Wednesday March 29, 2023 @02:25PM (#35361199)
Very interested in learning more about this. Do you know if there are any open source projects I can take a look at?
Re:Tailwind CSS v3.3 by quechimba on Wednesday March 29, 2023 @02:40PM (#35361396)
Here's an experiment I'm working on, where all styles are scoped to components because all static DOM trees become custom elements...

https://github.com/aalin/rdom

Re:Tailwind CSS v3.3 by mhoad on Wednesday March 29, 2023 @02:45PM (#35361464)
This is in some places a little bit specific to Lit but mostly not and walks you through that shift in mental models from start to finish that tends to trip people up a lot coming to Web Components https://youtu.be/Xt7blcyuw5s

FWIW if you are interested in Web Components I would say Lit is hands down the best entry point I’ve come across. Strong recommendation and nullifies most of the common complaints you tend to hear associated with them.