linkedin / linkedin/css-blocks

Review uses of undefined in core APIs and prefer null to represent explicit "no value".

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.