Skip to content

Starter Files & Component Tips #93

@ericdiviney

Description

@ericdiviney

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions