Hi everybody!
I recently discovered Inertia.js, a solution that offers to develop SPAs without having to write APIs.
I want to share it with the community.
From their website:
Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
Inertia works within two parts, server-side and client-side adapters.:
-
Client-side: Since we have ClojureScript, we can rely on Inertia-React package and run it with all React wrappers (Reagent, Rum, Helix, etc).
-
Server-side, I wrote this following Clojure adapter (Ring middleware):
I added today two new demos - thx to @seancorfield 's usermanager - for those want to play with it:
- Integrant / Reitit stack: GitHub - prestancedesign/usermanager-inertia-example: Single Page App demo in Clojure, Ring, Reitit and Reagent / Inertia.js
- Component / Compojure stack: GitHub - prestancedesign/usermanager-reagent-inertia-example: Single Page App demo in Clojure, Ring, Compojure and Reagent / Inertia.js
Do not hesitate if you have any questions or remarks.
Feebacks are welcome!
Cheers!