coast-framework / coast

The fullest full stack clojure web framework
https://coast.swlkr.com
MIT License
561 stars 31 forks source link

Something like turbolinks. Coastylinks? #93

Open eoliphan opened 4 years ago

eoliphan commented 4 years ago

Given that coast is currently the clojureverse's answer to stuff like RoR, Elixr, etc. Would probably be nice to have something like Turbolinks that is still 'page-oriented' but provides something of a middle-ground between a full-SPA and just pages.

swlkr commented 4 years ago

Oh that's true, could just use Turbolinks directly, but it might be nice to support it in forms and put the Turbolinks-Location response header in the default response functions too

aadrian commented 2 years ago

InertiaJS https://inertiajs.com/ would be however a much nicer variant (as the author built on it https://reinink.ca/articles/introducing-inertia-js ) .

There's already one community adapter https://inertiajs.com/community-adapters for Clojure too: https://github.com/prestancedesign/inertia-clojure (but it's quite cumbersome to use and also not up to date)