@fluxmodels/core
v0.0.5
Published
FluxModels is a type-safe state management library
Downloads
467
Maintainers
Readme
type-safe state management
Installation
React:
npm install @fluxmodels/core
# or
yarn add @fluxmodels/core
TypeScript configuration
To use FluxModels with TypeScript, you need to enable experimental decorators and emit decorator metadata in your tsconfig.json
file.
Add the following configurations:
{
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// ... other options
}
}
These settings allow TypeScript to properly handle the decorators used in FluxModels and ensure full functionality of the library.
Documentation
For full documentation, visit fluxmodels.dev.