Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/docs/9-coding-guidelines/09-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ sidebar_position: -5

## General

- Follow the best practices described in the [official React documentation](https://react.dev/).
- Prefer Function Components over Class Components.
- Create one file per "logical component." Multiple Function Components per file are allowed for structuring, styling, etc.
- Always use JSX (use React's `createElement` only for app initialization).
Expand Down Expand Up @@ -467,5 +468,6 @@ the child component is not directly affected by changes in the parent query, for

## Further reading / sources:

- [React](https://react.dev/)
- [Hello World - React](https://legacy.reactjs.org/docs/hello-world.html)
- [TypeScript and React](https://fettblog.eu/typescript-react/)