New React context api is explained with an example in a simple manner
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
public
src
.gitattributes
.gitignore
README.md
package-lock.json
package.json

README.md

React-New-Context-API-Example

N|Solid

You must have been hearing about the new React 16.3 buzz all around social media and developer newsletters. There are a few interesting new features that explains the reason for the excitement. One of them is the new Context API.

This example explains the React Context API by showing off the new version and explaining how best to use the API. Read the article in the following url

Prerequisites

  • node and preferably yarn installed

Installation

  • yarn install or npm install

Running the Dev Server

After setting up the project, type yarn start or npm start to start the Express dev server.

Running tests

Yet to define the unit cases for the components created

Compiling for production

To compile the Javascript bundle for production, use yarn build or npm build.

About Author

License

Released under the MIT license.