Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/igmat/reactive-properties
https://github.com/igmat/reactive-properties
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/igmat/reactive-properties
- Owner: Igmat
- License: mit
- Created: 2019-03-15T10:05:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T17:52:55.000Z (almost 2 years ago)
- Last Synced: 2024-10-16T19:28:23.912Z (23 days ago)
- Language: JavaScript
- Size: 37.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reactive-properties
Test project that showcase `Proxy` usage for creating reactive properties.
It's minimal implementation with ONLY reactive stuff (no memoization, async handling, etc.).
Something like this is used in `Vue`, `MobX`, `$mol`, `Aurelia`, `MetaF` and probably some other libraries/frameworks.Install dependencies (we need `Babel` to make `class-fields` work) via:
```
npm install
```
Run tests via:
```
npm test
```Code in `index.js` emulates library/framework that provides reactive capabilities.
Code in `emulate-third-party-modules` emulates some other end-user dependencies (it includes 2 different encapsulation approaches and one without encapsulation).
Code in `index.spec.js` emulates usage of such reactive library with some other end-user dependencies. This type of code will be written by end-user.