Can I add stated-based UI to a Web Component?



This content originally appeared on Go Make Things and was authored by Go Make Things

Continuing my series of videos on Web Components, this week, I converted the tic-tac-toe app I built last week to use state-based UI under-the-hood.

Frankly, I’m not convinced this is actually better or easier than manual DOM manipulation.

There does come a point where managing the UI this way is simpler, but for me, that’s usually when lots of separate UI components are all updating themselves based on a shared piece of data.

If there’s something you’d like me to build in the future, let me know!

🎉 Preorder Getting Sh!t Done today and get 40% off! Be more productive, get more done, and feel more in-control of your work and life. Click here to learn more.


This content originally appeared on Go Make Things and was authored by Go Make Things