A modular next gen framework built with ES6 and Web components. Includes routing, data-binding, event handling and animations.
the nx core is a tiny library, responsible for one thing only. it allows you to create and combine components and middlewares. a component excutes its middlewares when it is attached to the dom and gains all the added functionalities from them. nx comes with some core middlewares out of the box, which you can find listed below.
text interpolation: interpolate values from the code into the view dynamically or onetime. includes optional filters. dynamic and custom attributes: use onetime or dynamically evaluated native attributes or define some custom ones. event handling: add inline event handlers to listen on any event. includes optional rate limiters. visual flow: use conditional blocks and loops inside the html view. data binding: oneway, onetime or twoway data binding on any event and with no edge cases. rendering: modularize your html and css code by moving them into separate files for each component. routing: simple, but powerful routing with automatic parameter synchronization and router events. dynamic styling: simplify styling by passing objects to the style and class attributes. animations: create powerful animations by using only a few html attributes. anything else you define with the simple 'function middleware (elem, state, next) {}' syntax.
javascript web-development easy-to-use framework