0.4.0 • Published 1 year ago

@mlaopane/react-view-model v0.4.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
1 year ago

React View Model

Purpose

Abstract the creation of a Context.Provider and its useContext hook. It helps centralizing state logic which is shared across children.

Installation

With PNPM 👇

pnpm i @mlaopane/react-view-model

Or with NPM 👇

npm i @mlaopane/react-view-model

Usage

You can find an interactive example here : https://codesandbox.io/s/react-view-model-bundle-z6zv34

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago