Hi everyone! Iβve written https://github.com/prestancedesign/inertia-clojure a Ring middleware for https://inertiajs.com/, a new concept to build single-page apps without building an API. This lets you build SPA with Reagent, React, Vue and Svelte using Clojure server side for the routing, controllers, etc. If your interested, there is some examples in the lib repo: https://github.com/prestancedesign/inertia-clojure Cheers!
Woohoo! My Clojure adapter is added to the Inertia website. π
I started embarking on a project creating a ring-like interface for express. Itβs working but want to think some things through and write docs/tests before releasing. How true to ringβs API did you stay? Right now all my test handlers are manually extracting promise data that the request could be wrapped in and returning a promise with the result. Iβm tempted to switch gears to something between ring and interceptor based since I can manage promises automatically between the handlers that way. Given that you made this I might go ahead and change my api so that itβs ring-ish but is async or sync without the user having to think or know about it.
Sound interesting. π It kinds remind me Macchiato, do you know? https://github.com/macchiato-framework/macchiato-core
I had no idea about that one. Thanks! It's definitely higher quality than what I have currently. Might expand on what I have to make it more ergonomic for cljs\js and see what comes of it. Will definitely have to start playing with your library and macchiato though π