Introduction
Sigi is a high level Effect Manager with well designed API based on RxJS and Immer.
TypeScript is not required but strongly recommended.
Features
- 🌊 Stream: thanks to rxjs, use sigi could get ride of complex flow of internal stats.
- 💡 Type safe: Sigi provides Type Safe APIs which connect the gap between your Component and Side Effect codes in compile time.
- 📌 Dependencies Injection: Sigi contains a tiny dependency injection implementation. Which allow you easier to compose your Modules and Services. And it is also provide huge benefit when you want to write some tests.
- 💖 Multi platforms support: Sigi now support React/React Native and Vue 2.x.
Packages
| Project | Status | Description |
|---|---|---|
| @sigi/core | Framework core APIs to encapsulate related effects | |
| @sigi/react | React Hooks APIs | |
| @sigi/vue | VueJS integration library | |
| @sigi/react-router | React router integration | |
| @sigi/ssr | Server side rendering support for Vue/React | |
| @sigi/devtool | Redux devtool integration | |
| @sigi/di | Dependencies injection library which allow you compose your own class with Sigi Modules | |
| @sigi/testing | Test helper library |
Required polyfill in legacy browsers
Bundle these polyfills on demand,
Sigiwon't import them directly.
- Promise
- Map/Set
- Reflect metadata
- @abraham/reflection
~3kRecommand - reflect-metadata
~50k - core-js/es7/reflect
~80K
- @abraham/reflection