luciex

0.3.0 • Public • Published

Luciex

Introduction

Luciex is a simplistic state management library.

  • Simple To Start

Luciex has a simple interface making it as easy as possible to get right in.

Installation

$ npm install luciex
# Or with yarn
$ yarn add luciex

Try It Out

You can create a simple store (or as we call it, an atom) for a counter app in only a couple lines.

import { Atom } from 'luciex';

const counterAtom = new Atom(0);

const increase = (count: number) => count + 1;
const decrease = (count: number) => count - 1;

await counterAtom.dispatch(increase);
await counterAtom.dispatch(decrease);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    1
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i luciex

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

43.9 kB

Total Files

15

Last publish

Collaborators

  • shadowtime2000