3 ms·
Totally agree with this article. I am operationally allergic to complexity and React us fully complex these days. Based on this pain I did an experiment with a
by DLA 6y ago
Totally agree with this article. I am operationally allergic to complexity and React us fully complex these days. Based on this pain I did an experiment with a new application.
I just recently developed a complete 12 component app using AlpineJS ... probably pushing the boundaries, but it's awesome!
Components have their own internal state and reactively update their part of the UI using Alpine Directives. We have data CRUD ops with the databases, dynamic tables, dynamic forms, UI panes with dynamic content, etc.
For updates across/between components, we use messaging between components which also triggers reactive updates via updates to message receivers' local state, as needed. QED.
Works beautifully and with 12 components on the SPA (and growing) this is no Hello World or TO DO app. Not by a long shot. Oh, and for the win, no build step at all. Just reload. Time to paint hovering at about 1.7ms.
Tech stack: Go web and API server. CockroachDB. AlpineJS. TailwindCSS and the awesome TailwindUI components.