Archetype: Electrode React Component
Electrode flavored react component archetype.
Have a question? Check the FAQ
You are suppose to start your Electrode component by using our Yeoman generator-electrode.
Electrode team offers a detailed getting started with Electrode Component tutorial. If you want to check out more on our Electrode component, please use the instructions here as a guide.
The primary interface to the archetype is a list of tasks you can invoke with clap to do your bidding. To see the tasks, simply run:
To demo your
packages/components, for example, the dev task, go to your
demo-app directory and run:
$ clap dev
To test your components, go to your root directory and run:
$ npm run test
To test a single component, go to your specific 'packages/component' directory and run:
$ clap check
The archetypes are split into two parts:
<archetype>-dev. Both archetypes need to be in each component and should be included in the
Check the archetype configs:
If you are enhancing / refactoring this archetype and have locally checked it out,
DEVELOPMENT.md for our guidelines.
The main check we provide for the archetype itself is:
$ clap archetype:check