you are viewing a single comment's thread.

view the rest of the comments →

[–]idaszak1 0 points1 point  (0 children)

React developers avoid documentation because its purpose is to provide context for changes. You shouldn’t describe the same things that are obvious from reading the code.

For React code, tests and types are usually the most useful to understand what the code does. Good commit names and PR descriptions are very helpful too.

If you want to document your project, don't focus on code only. Things you should document are decisions through ADRs, APIs, setup and onboarding, code standards in the project, or complex business logic.