Inspired by a tweet from a fellow developer, I decided to take a look at Karax, a nifty framework for developing single page applications in Nim.
After following the basic tutorials and examples, I searched for something more complex and found very sparse documentation, so I’ll write my findings here.
As usual, the complete source code is on my github repo, where you can find also a working live demo.
In this example I wanted to experiment with the component pattern, and create a stateful module that can be reused. So I modeled a nim clock object, here the source:
...