@vanyamate/sec-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

SEC React

Support for sec

// /model/todo/todo.model.ts
import { store } from '@vanyamate/sec';


export const todoLoading = store(false);
// any react component
const loading = useStore(todoLoading);

if (loading) {
    return <Loader/>;
}

return (
    <Component/>
);

Readme

Keywords

Package Sidebar

Install

npm i @vanyamate/sec-react

Weekly Downloads

1

Version

0.0.4

License

ISC

Unpacked Size

1.4 kB

Total Files

4

Last publish

Collaborators

  • vanyamate