A Mixmax integration that takes code-sharing a step further. This lets you share runnable code that you can actually play with.
(I personally use yarn but running npm will work here fine as well.)
npm install
or yarn
Then, follow the instructions here to add the project to your mixmax dashboard.
npm start
or yarn start
Or you can run
npm start-like-prod
or yarn start-like-prod
to run with a compressed version of react.
We use jest as our test runner.
npm test-watch
or yarn test-watch
You can create new react modules with the create script found in
scripts/create
. It will autogenerate a sass file and a jest
test for you.
npm create MyModuleName
or yarn create MyModuleName