11# @nexpy/react-easy-context-api
22
3- [ ![ npm] ( https://img.shields.io/npm/v/react-easy-context-api )] ( https://www.npmjs.com/package/react-easy-context-api )
4- [ ![ size] ( https://img.shields.io/bundlephobia/minzip/react-easy-context-api )] ( https://bundlephobia.com/result?p=react-easy-context-api )
3+ [ ![ npm] ( https://img.shields.io/npm/v/@nexpy/ react-easy-context-api )] ( https://www.npmjs.com/package/@nexpy /react-easy-context-api )
4+ [ ![ size] ( https://img.shields.io/bundlephobia/minzip/@nexpy/ react-easy-context-api )] ( https://bundlephobia.com/result?p=@nexpy/ react-easy-context-api )
55
66## Introduction
77
@@ -26,7 +26,7 @@ This package is constructed above the [use-context-selector](https://github.com/
2626This package requires some peer dependencies, which you need to install by yourself.
2727
2828``` bash
29- yarn add react-easy-context-api scheduler
29+ yarn add @nexpy/ react-easy-context-api scheduler
3030```
3131
3232Notes for library authors:
@@ -47,7 +47,7 @@ It also requires `useContextUpdate` to behave better in Concurrent Mode.
4747// cats-context.tsx
4848import { useState , FC } from ' react'
4949
50- import { createContext } from ' react-easy-context-api'
50+ import { createContext } from ' @nexpy/ react-easy-context-api'
5151
5252type MyContext = {
5353 pettedCats: number
@@ -113,7 +113,7 @@ This creates a special context.
113113#### Examples
114114
115115``` ts
116- import { createContext } from ' react-easy-context-api'
116+ import { createContext } from ' @nexpy/ react-easy-context-api'
117117
118118type PersonContext = {
119119 firstName: string
@@ -202,7 +202,7 @@ The provider you need to use to apply the context.
202202##### Examples
203203
204204``` tsx
205- import { createContext } from ' react-easy-context-api'
205+ import { createContext } from ' @nexpy/ react-easy-context-api'
206206
207207type PersonContext = {
208208 firstName: string
0 commit comments