Just released Inertia-clojure ver 0.2.1, Clojure middleware for Inertia.js to build single-page apps, without building an API. https://github.com/prestancedesign/inertia-clojure • This version supports History.pushState (query-string appended to URI), so the app state is loaded/restored even after direct access to a URL • Props are now optional via multi-arity render function. • Some demo examples updated
looks like an interesting approach to SPAs, nice to have a clojure backend library for it
Thanks you. I like your approach with Ripley too. Brilliant!
thanks… as usual there’s trade offs to everything… the inertia seems interesting to me as it looks like it would help with the bad parts of SPA (routing and managing data fetched thru APIs)
but inertia still allows you to leverage the huge ecosystem of React components
ripley frees you from having to work with the JS ecosystem, but down side is that you’ll be writing a lot of basic components yourself
Totally agree. > but inertia still allows you to leverage the huge ecosystem of React components With Inertia, React /Vue / Svelte can be now considered as advanced "template" language. For more oriented back-end profile like I am, it's very likable to manage auth, router, etc on the back. And the icing on the cake, Inertia is working on Server-side rendering.
FYI I released a complete new web app example https://github.com/prestancedesign/clojure-inertia-pingcrm-demo