2.1.1 • Published 3 years ago
@vovikilelik/lens-ts v2.1.1
It is the typings for lens-js
It is the simple state manager for web apps with TS typings. It is implementation of Object-relative method of data organizing. So, let try...
Wiki
Initialize
import { Lens, LensUtils } from '@vovikilelik/lens-ts';
- Lens - base lens class;
- LensUtils - some usefull functions for fun;
Typing
// Create interface first
interface State {
name: string;
color?: number;
basket?: any[];
}
// Initialize store and create lens
export const store = LensUtils.createLens<State>({ name: 'Bob' });
For more help, please look this repository
2.0.3
3 years ago
2.1.1
3 years ago
2.0.2
3 years ago
2.0.1
3 years ago
2.0.0-beta3
3 years ago
2.0.0-beta1
3 years ago
2.0.0-beta2
3 years ago
1.6.4
3 years ago
1.6.3
3 years ago
1.6.2
4 years ago
1.6.1
4 years ago
1.6.0
4 years ago
1.5.4
4 years ago
1.5.3-hotfix1
4 years ago
1.5.3
4 years ago
1.5.2
4 years ago
1.5.1
4 years ago
1.5.0
4 years ago
1.4.2
4 years ago
1.4.1
4 years ago
1.4.0
4 years ago
1.3.1
4 years ago
1.3.0
4 years ago
1.2.7
4 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago