https://bnomis.github.io/om-next-datascript-localisation-demo/
Demo of localisation with Om Next and DataScript.
There's a video demo here: https://youtu.be/-E2Z9bca4-w
A blog post about this project is here: http://www.simonb.com/blog/2016/01/24/om-next-datascript-localisation-demo/
ps: I'm available for hire remotely or in Shanghai. Thanks.
Om Next is a ClojureScript wrapper around React.
DataScript is a ClojureScript implementation of Datomic.
This project uses:
- Leiningen for building and running tests
- Figwheel for interactive development
- doo to provide a JavaScript environment for non-ui testing
To run in development mode:
lein figwheel
Point your browser at http://127.0.0.1:3449/
To build everything:
lein cljsbuild once
To build just the production (prod) build:
lein cljsbuild once prod
There is extensive logging in the code. This is useful for development and figuring out how Om Next works. But...
When logging is on...
- there will be a lot of output to the console
- the app runs slower
Edit the file logging.cljc
to set the logging-is-on
variable to true/false.
Currently only string interpolation is tested.
To run the tests (in this example using node as the JavaScript engine):
lein doo node test