Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add React guide #5

Closed
jaredpalmer opened this issue Jan 26, 2019 · 9 comments · Fixed by #74
Closed

Add React guide #5

jaredpalmer opened this issue Jan 26, 2019 · 9 comments · Fixed by #74
Labels
kind: feature New feature or request

Comments

@jaredpalmer
Copy link
Owner

No description provided.

@swyxio
Copy link
Collaborator

swyxio commented Jan 31, 2019

i can volunteer. what should be covered?

@jaredpalmer
Copy link
Owner Author

Adding types, dealing with type resolutions, using yarn link, setting up an example, adding —env=jsdom to the test command.

@jaredpalmer
Copy link
Owner Author

Let me come up with an outline this morning.

@jaredpalmer jaredpalmer added the kind: feature New feature or request label Jan 31, 2019
@jaredpalmer
Copy link
Owner Author

jaredpalmer commented Jan 31, 2019

## Usage with React
### Adding React
### Yarn Resolutions
### Testing React
#### Using Jest
#### Adding Storybook
#### Adding Cypress.io
### Creating a React Playground
### Publishing

@swyxio
Copy link
Collaborator

swyxio commented Jan 31, 2019

any interest in adding a npx tsdx create mylib --react flag?

@swyxio
Copy link
Collaborator

swyxio commented Jan 31, 2019

for DX inspiration - i have previously been using https://github.com/transitive-bullshit/create-react-library

@jaredpalmer
Copy link
Owner Author

Yeah that could work. I kinda prefer a prompt here cuz I can never remember the flags

@jaredpalmer
Copy link
Owner Author

@sw-yx

# TSDX React User Guide
Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.

> This TSDX setup is meant for developing React components (not apps!) that can be published to NPM. If you’re looking to build an app, you should use create-react-app, razzle, next, or 

> If you’re new to TypeScript and React, checkout this handy cheatsheet

## Commands
## Configuration
### Jest
#### Setup Files
#### React Testing Library
### Rollup
### TypeScript
## Continuous Integration
### Travis
### Circle
## Optimizations
### Lodash
### Dev/Prod builds
### Tree shaking
## Module Formats
## Dependencies and Resolutions
## Using the Playground
## Named Exports
## Including Styles
## Publishing to NPM
## Usage with Lerna

@swyxio
Copy link
Collaborator

swyxio commented May 1, 2019

woop! ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants