A javascript micro-framework for Next Generation Web Apps
- Small Footprint - Components with Lifecycle + Built-in Store in + Router < 5 KB
- Fast - built with lit-html - uses native DOM, no virtual DOM overhead.
- Best DX - No Build Step + Redux devtools integration
- Standard Compliant - Based on Web Components Standard
- Familiar - Ideas from Redux like libraries
- Convenient - Connected Components without boilerplate
- Instantly Productive
render
getsstate
anddispatch
- Connected Components efficiently auto update on state changes
- Simple & Familiar - Build apps using languages you already know
Grab a copy from UNPKG CDN:
<script src="https://unpkg.com/@znix/znix">
or Install it from NPM:
npm install @znix/znix
Then with a module bundler like parcel or rollup, use as you would anything else:
import { Component, render } from '@znix/znix'
See the docs directory
Found a problem?
Open an issue, or better yet open a pull request
Want to hack code?
Clone this repo, and run setup
script within repo root:
npm run setup
Once setup, review examples
directory, or launch using npm start
in any example directory.
Ready to fix an issue?
create a new example in examples
directory & run npm run boot
in repo root
packages/znix
hosts core module, which supports below commands:
npm run build # builds the package
npm run start # builds the package in watch mode
npm run test # runs tests in watch mode
npm run coverage # runs tests and generates coverage report
This library was inspired by many of the pre-existing libraries/packages for existence of which we are greatly thankful of. Specifically: