You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-9Lines changed: 37 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,32 @@ Transparent reactivity without special syntax and with a **100% language observa
6
6
7
7
[React Easy State](https://github.com/solkimicreb/react-easy-state) is a React state management solution - based on this library. This library is part of the [NX framework](https://nx-framework.com).
8
8
9
-
## Table of contents
10
-
11
-
-[Installation](#installation)
12
-
-[Usage](#usage)
13
-
-[Features](#key-features)
14
-
-[Platfrom Support](#platform-support)
15
-
-[API](#api)
16
-
-[Examples](#examples)
17
-
-[Contributing](#contributing)
9
+
<details>
10
+
<summary><strong>Table of Contents</strong></summary>
11
+
<!-- Do not edit the Table of Contents, instead regenerate with `npm run build-toc` -->
This library detects if you use ES6 or commonJS modules and serve the right format to you. The exposed bundles are transpiled to ES5 to support common tools - like UglifyJS minifying. If you would like a finer control over the provided build, you can specify them in your imports.
355
+
356
+
-`@nx-js/observer-util/dist/es.es6.js` exposes an ES6 build with ES6 modules.
357
+
-`@nx-js/observer-util/dist/es.es5.js` exposes an ES5 build with ES6 modules.
358
+
-`@nx-js/observer-util/dist/cjs.es6.js` exposes an ES6 build with commonJS modules.
359
+
-`@nx-js/observer-util/dist/cjs.es5.js` exposes an ES5 build with commonJS modules.
360
+
361
+
If you use a bundler, set up an alias for `@nx-js/observer-util` to point to your desired build. You can learn how to do it with webpack [here](https://webpack.js.org/configuration/resolve/#resolve-alias) and with rollup [here](https://github.com/rollup/rollup-plugin-alias#usage).
362
+
335
363
## Contributing
336
364
337
365
Contributions are always welcomed! Just send a PR for fixes and doc updates and open issues for new features beforehand. Make sure that the tests and the linter pass and that
0 commit comments