@kentcdodds/react-workshop-app
An abstraction for all my React workshops
The problem
I have several repositories for my React workshops
This solution
This is a set of common abstractions I found useful in those workshop repositories
Table of Contents
Installation
This module is distributed via npm which is bundled with node and
should be installed as one of your project's dependencies
:
npm install --save @kentcdodds/react-workshop-app
Usage
This is intended to be used with create-react-app (but it doesn't have to be).
// src/index.js
import codegen from 'codegen.macro'
// eslint-disable-next-line
codegen`module.exports = require('@kentcdodds/react-workshop-app/codegen')`
// src/setupTests.js
import '@kentcdodds/react-workshop-app/setup-tests'
Then you'll need to have those directories set up. Probably easiest to look at one of my repos that use this.
Issues
Looking to contribute? Look for the Good First Issue label.
🐛 Bugs
Please file an issue for bugs, missing documentation, or unexpected behavior.
💡 Feature Requests
Please file an issue to suggest new features. Vote on feature requests by adding
a
✨
Contributors Thanks goes to these people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
LICENSE
MIT