linkedin / linkedin/css-blocks
Review uses of undefined in core APIs and prefer null to represent explicit "no value".
Open
- Dominant language
- TypeScript
- Stars
- 6.3k
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
I think our APIs would be cleaner if we used `null` wherever we have a situation where a value is missing and reserved `undefined` for cases where values have not yet be initialized.
Contributor guide
Research direction
The issue provides no file, test, or entry-point names. Begin by locating the core API uses of undefined and classify each occurrence against the proposed null-versus-uninitialized distinction; completion would require the affected uses to follow an agreed policy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100