mov-fe-lib-react 1.3.2-3
Install from the command line:
Learn more about npm packages
$ npm install @mov-ai/mov-fe-lib-react@1.3.2-3
Install via package.json:
"@mov-ai/mov-fe-lib-react": "1.3.2-3"
About this version
-
Git clone mov.ai lib-react
-
Create new branch from dev
-
Update mov.ai lib-react
-
Test updates
- You can use
npm run storybook
for that
- You can use
-
Commit/Push changes
-
Create pull request
- Make sure to include the code owners
When running the lib-react locally from IDE, you might have an issue with invalid hooks with the following message: "Error: Invalid hook call. Hooks can only be called inside of the body of a function component"
To fix it, stop the development server of IDE, stop the buildDev of lib-react and run the following command in lib-react repository root:
sudo npm link ../frontend-npm-ide/node_modules/react