4 ms·
I think Turbolinks is a nice balace bewteen traditional webpage and SPA. https://github.com/turbolinks/turbolinks https://github.com/turbolinks/turbolinks It p
by soruly 4y ago
I think Turbolinks is a nice balace bewteen traditional webpage and SPA.
https://github.com/turbolinks/turbolinks https://github.com/turbolinks/turbolinks
It provides a smooth UX by fetching next page's HTML in background, then replace the DOM by compareing the diff in HTML. So you won't see a blank page while navigating between pages.
- jasongi 4y agoTurbolinks is one of those things that seems revolutionary to begin with, until you need to start implementing hacks in your server in order to deal with edge cases. Things I remember from the last time I had to deal with these libraries were redirects and hard-to-debug JavaScript issues due to so much JavaScript relying on document ready/onload events.
- barking_biscuit 4y agohttps://hotwired.dev/ https://hotwired.dev/ They turned Turbolinks and extended it into a complete framework. I really want to give it a try.