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

Starter Files & Component Tips #93

Open
ericdiviney opened this issue Oct 18, 2023 · 0 comments
Open

Starter Files & Component Tips #93

ericdiviney opened this issue Oct 18, 2023 · 0 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@ericdiviney
Copy link
Owner

I have an idea to have 2 pages for the following type of information:

File templates for Context providers, quick-n-dirty global state with useContext/useState, barrel files and explanation, currying for tons of providers, custom hooks, higher order components, unit/integration/e2e test templates

Basically just a bunch of files people can copy + paste into their project so their not starting from scratch everytime they create a new test file or component file or context file. Just speed up development a tad.

Add ANOTHER new page near component templates - Random component tips and tricks (small tips like the following):
- using key={} to reset state for a component
- Easier conditional JSX logic blocks
- others?
These are just little nuggets that senior react devs have living in their heads.

@ericdiviney ericdiviney added help wanted Extra attention is needed question Further information is requested labels Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant