Skip to content

Commit 0122e45

Browse files
committed
docs/react: Note this doc hasn't been updated for Hooks
It might be useful to make a revision of this doc for the new React Hooks-based world. For now, just add a note at the top to help prevent confusion.
1 parent bfc0fb6 commit 0122e45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/architecture/react.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# React, etc.
22

3+
(**2022 note:** This doc is in terms of the old-style React API, where
4+
nontrivial components are typically implemented as classes. Today, most of
5+
our components are implemented in the React API's new style, as function
6+
components using Hooks. The principles below still largely apply, but much
7+
of the API is different.)
8+
39
This doc describes how we use React and closely related libraries like
410
Redux, and how we apply the architectural ideas associated with them.
511

0 commit comments

Comments
 (0)