Skip to main content

React Environment

Uncomment the following line in your workspace.jsonc file, to apply the React development environment on all components in this workspace.

workspace.jsonc
"teambit.workspace/variants": {  "*": {    "teambit.react/react": { }  }}

Install React and React Dom as peer dependencies:

bit install react --type peerbit install react-dom --type peer