Datascript and Quiescent TodoMVC stand-alone
01 May 2014Yesterday I wrote about clj-crud and its TodoMVC implementation with Datascript and React.js/Quiescent. Below is the same implementation, but this time in advanced compilation and without using a back-end. Now you don't have to log in to see the demo, but of course your todo list won't be saved in a database either.
The local storage is done in client_services.cljs with another Datascript database. This replaces the service that would talk to the back-end through ajax calls. This approach is also useful for testing and development. The Datascript transactions are in transact.cljs. The rendering with Quiescent is in render.cljs. The whole main starting point is in application.cljs
All the code is on GitHub: thegeez/clj-crud.