3.1.5 • Published 4 years ago
@impress/react v3.1.5
@impress/react
Modular state manager for React
Install
npm i @impress/react
Basic Usage
import { useProvide } from "@impress/react";
class User {
store = "John";
}
const UserNameEditor = () => {
const user = useProvide(User);
return (
<input
onChange={(e: any) => user.store = e.target.value}
value={user.store}
/>
)
};
Introduction
Modular state manager for React. You can organize the code of your application by service-stores. Single instantiated classes with a store inside at any place of your app code.
- Service-oriented and multistore architecture
- Update view components only dependent of changed stores
- Data flow instruments
- Server side rendering (SSR)
- Possibility to make separated modules
- Minimal abstraction,
- Lightweight (~2Kb)
- Minimum init page CPU time
- Designed by React hooks coding style
Documentation
Examples
License
Impress is MIT licensed.
3.1.5
4 years ago
3.1.4
4 years ago
3.1.3
4 years ago
3.1.2
4 years ago
3.1.1
4 years ago
3.1.0
4 years ago
3.0.0
4 years ago
2.7.2
4 years ago
2.7.0
4 years ago
2.7.1
4 years ago
2.5.0
4 years ago
2.6.1
4 years ago
2.6.0
4 years ago
2.4.0
4 years ago
2.3.0
4 years ago
2.2.0
4 years ago
2.1.0
4 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.3.1
4 years ago
0.3.0
4 years ago
0.2.0
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago