Easy Virtual DOM implementation for JavaScript apps.
Dompro evolves the ideas of Virtual DOM, but avoids its complexity by taking cues from emergency design.
Whether you have used it or not, Dompro only takes a few minutes to get started with.
To install the stable version:
npm install --save dompro
This assumes you are using npm as your package manager.
If you don't, you can access these files on unpkg, download them, or point your package manager to them.
Most commonly people consume Dompro as a collection of CommonJS modules.
These modules are what you get when you import dompro
in a Webpack, Browserify, or a Node environment.
If you don't use a module bundler, it's also fine.
The dompro
npm package includes precompiled production and development UMD builds in the dist
folder.
They can be used directly without a bundler and are thus compatible with many popular JavaScript module loaders and environments.
For example, you can drop a UMD build as a <script>
tag on the page.
The UMD builds make Dompro available as a window.Dompro
global variable.
The Dompro source code is written in ES2015 but it is precompiled both CommonJS and UMD builds to ES5 so they work in any modern browser. You don't need to use Babel or a module bundler to get started with Dompro.
This project adheres to Semantic Versioning. Every release is documented on the GitHub Releases page.
MIT