basarat / basarat/typescript-book

Reconsider my file naming convention and default exports

Open
#440 5 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

If this React `React.lazy` RFC lands will change the naming convention to be `Buttons.tsx` (instead of `buttons.tsx`) and sunset the default exports issues, probably move into a blog post with a mention of its okay as the conventions beat personal preference :rose:

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the React.lazy RFC context referenced in the issue and the current guidance on file naming and default exports. Decide whether to adopt Buttons.tsx naming, sunset the default-export discussion, and move it into a blog post; done means the convention and rationale are documented consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.