Home Page

A DI System for React

Introduction

Deviation is a DI System for React. Its purpose is to share the state and actions between components but still keep your code as simple and readable as possible.

Installation

You can install Deviation by either using PNPM, Yarn or NPM

PNPM

$ pnpm add deviation

Yarn

$ yarn add deviation

NPM

$ npm install --save deviation

Then you can import the component into your app:

import { Store, Deviation, Inject } from 'deviation'

Last updated