3 ms·
> the only technology we should be using to create web UI is JavaScript Quite an interesting idea, but stating that JS is the true way of creating Web UIs miss
by brunojppb 3y ago
> the only technology we should be using to create web UI is JavaScript
Quite an interesting idea, but stating that JS is the true way of creating Web UIs misses the mark by miles. You would be surprised by how far you can get with HTML and CSS alone. You will ofc need JS for more dynamic interactions, but ditching the server entirely and delegating everything to JS will just take us to the SPA mess that most of have been burned with.
- kshahkshah 3y agoI think it's assuming a static site
- ecshafer 3y agoEspecially now that rails is shipping with turbo, hotwire and stimulus. Using no (additional) javascript you can make awesome performant reactive webpages.
- efields 3y agoI want to believe. Really I do. Most recent app I worked on used Mantine for a base component library. Having such a large collection of drop-in components made the app come together very quickly. Performance matters but a well built react front-end for a solid MVP is performant enough. I haven’t seen a vision like this for the stimulus/htmx world. How do you import components?
- ecshafer 3y agoMy team is usually view components in our application. Basicslly ruby erb renders the view component in a turbo frame. Turbo allows async updates without redrawing. Then we use stimulus to call small js component that are put into the view components.