0.8.14 • Published 2 months ago

ezmodel v0.8.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

ezmodel

Introduction

Overview

ezmodel simplifies web application state management. It provides a clear API for both local and global states, making your code cleaner and more maintainable.

Getting Started

Installation

Using npm

npm i ezmodel

Using yarn

yarn add ezmodel

Quick Start Guide

Wrap components with view(), define states with model() and using effect() to detect model change.

import { model, effect } from "ezmodel";
import { view } from "ezmodel/react";

const counter = model({ count: 0 });

effect(() => {
  console.log("count", counter.count);
});

const App = view(() => (
  <button onClick={() => counter.count++}>{counter.count}</button>
));

Features

  • Ease of Use: Straightforward setup.
  • Reactivity: Seamless state-to-UI binding.
  • Performance: Optimized for efficiency.

Learn More

License

This project is licensed under the MIT License - see the LICENSE file for details.

Community Support

For questions, discussions, or contributions, please join our community:

  • GitHub Issues: For reporting bugs or requesting new features, please use GitHub Issues.
  • Discussions: Join the conversation and ask questions in GitHub Discussions.
  • Contribute: Contributions are welcome! If you're interested in contributing, please read our CONTRIBUTING guide for more information on how to get started.

Stay connected and help improve ezmodel by sharing your feedback and ideas with the community!

0.8.9

2 months ago

0.8.8

2 months ago

0.8.5

2 months ago

0.8.4

2 months ago

0.8.7

2 months ago

0.8.6

2 months ago

0.8.12

2 months ago

0.8.11

2 months ago

0.8.14

2 months ago

0.8.13

2 months ago

0.8.10

2 months ago

0.8.1

2 months ago

0.8.0

2 months ago

0.8.3

2 months ago

0.6.21

2 months ago

0.6.20

2 months ago

0.7.22

2 months ago

0.7.21

2 months ago

0.7.24

2 months ago

0.6.12

2 months ago

0.6.11

2 months ago

0.6.18

2 months ago

0.6.17

2 months ago

0.6.14

2 months ago

0.7.25

2 months ago

0.6.16

2 months ago

0.7.2

2 months ago

0.7.4

2 months ago

0.7.3

2 months ago

0.7.0

2 months ago

0.7.11

2 months ago

0.7.10

2 months ago

0.7.9

2 months ago

0.7.13

2 months ago

0.7.12

2 months ago

0.7.6

2 months ago

0.7.5

2 months ago

0.7.8

2 months ago

0.7.7

2 months ago

0.7.19

2 months ago

0.7.17

2 months ago

0.6.7

2 months ago

0.6.6

2 months ago

0.6.9

2 months ago

0.6.8

2 months ago

0.6.10

2 months ago

0.6.3

2 months ago

0.6.2

2 months ago

0.6.4

2 months ago

0.6.1

2 months ago

0.6.0

2 months ago

0.5.3

3 months ago

0.5.0

3 months ago

0.5.2

3 months ago

0.5.1

3 months ago

0.4.1

3 months ago

0.4.0

3 months ago

0.3.0

3 months ago

0.3.2

3 months ago

0.2.3

3 months ago

0.3.1

3 months ago

0.2.2

3 months ago

0.3.4

3 months ago

0.3.3

3 months ago

0.2.1

3 months ago

0.1.2

3 months ago

0.2.0

3 months ago

0.1.1

3 months ago

0.1.3

3 months ago

0.0.0

3 months ago