basarat / basarat/typescript-book

DTO - UI Data speration

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

Description

Server gives you `{foo: string}` and you want `{foo: string, expanded: boolean}` etc. I need to document the guidance for this.

Anybody got a nice heading for this? :rose:

Contributor guide

Open the contributing guide

Research direction

The issue names no file, test, or entry point. Review the book's existing guidance for server data and UI models, then document how to add UI-only fields such as `expanded` to `{foo: string}`; done means the guidance has a clear heading and explains this separation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.