This repository contains three npm workspaces:
packages/channels
: TheChannels
librarypackages/use-channels
: A set of hooks to useChannels
in a React projectpackages/example-project
: A React example project
First, install dependencies for all workspaces by running npm install
in the root folder.
To run the example project, both the channels
and use-channels
packages need to be built:
npm run build -w packages/channels -w packages/use-channels
Then start the example project:
cd packages/example project
npm run start