turbolinks
jquery-pjax
turbolinks | jquery-pjax | |
---|---|---|
2 | 4 | |
170 | 16,766 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | over 1 year ago | |
JavaScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
turbolinks
-
How Laravel Livewire works (a deep dive)
However I still need SPA navigation and although there's a Turbo adapter [0], it looks like more of a prototype at the moment.
[0] https://github.com/livewire/turbolinks
-
Laravel Livewire: Navigation like pjax/turbolinks
Seems like a no go for now though: https://github.com/livewire/turbolinks/issues/23
jquery-pjax
-
Htmz – a low power tool for HTML
Reminds me of pjax [1], except pjax worked over XHR instead of an iframe and used pushState by default to keep the back button working.
[1]: https://github.com/defunkt/jquery-pjax
-
The balance has shifted away from SPAs
Ah, AFAIK that's not actually theirs but: https://github.com/defunkt/jquery-pjax, from which Turbolinks took its inspiration as a Rails-native built in solution. Presumably GitHub never saw any reason to rewrite when the latter appeared.
-
How to navbar not reload
Look at PJAX please : https://pjax.herokuapp.com
-
Laravel Livewire: Navigation like pjax/turbolinks
With pjax: https://github.com/defunkt/jquery-pjax and https://github.com/spatie/laravel-pjax it was simple to just add a data attribute to an anchor tag and you're good to go. Selecting a menu item would usually be a single request (the view would be injected into the blade @yield('content') section) and a few kilobytes of info (keeping browser URL updated as well), making any web app feel super snappy.
What are some alternatives?
inertia-laravel - The Laravel adapter for Inertia.js.
laravel-pjax - A pjax middleware for Laravel
htmx - </> htmx - high power tools for HTML
turbo - The speed of a single-page web application without having to write any JavaScript
livewire - A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
web.dev - The frontend, backend, and content source code for web.dev
breeze - Minimal Laravel authentication scaffolding with Blade, Vue, or React + Tailwind.
htmz - html with targeted manipulation zones
django-unicorn - The magical reactive component framework for Django ✨
phoenix_live_view - Rich, real-time user experiences with server-rendered HTML
jetstream - Tailwind scaffolding for the Laravel framework.