Commit 8986fce
committed
Add stub for experimental_useFormStatus (#26719)
This wires up, but does not yet implement, an experimental hook called
useFormStatus. The hook is imported from React DOM, not React, because
it represents DOM-specific state — its return type includes FormData as
one of its fields. Other renderers that implement similar methods would
use their own renderer-specific types.
The API is prefixed and only available in the experimental channel.
It can only be used from client (browser, SSR) components, not Server
Components.
DiffTrain build for commit 919620b.1 parent a3fddf6 commit 8986fce
13 files changed
Lines changed: 19 additions & 19 deletions
File tree
- compiled-rn/facebook-fbsource/xplat/js
- RKJSModules/vendor
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
- implementations
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23824 | 23824 | | |
23825 | 23825 | | |
23826 | 23826 | | |
23827 | | - | |
| 23827 | + | |
23828 | 23828 | | |
23829 | 23829 | | |
23830 | 23830 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8601 | 8601 | | |
8602 | 8602 | | |
8603 | 8603 | | |
8604 | | - | |
| 8604 | + | |
8605 | 8605 | | |
8606 | 8606 | | |
8607 | 8607 | | |
| |||
8632 | 8632 | | |
8633 | 8633 | | |
8634 | 8634 | | |
8635 | | - | |
| 8635 | + | |
8636 | 8636 | | |
8637 | 8637 | | |
8638 | 8638 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9027 | 9027 | | |
9028 | 9028 | | |
9029 | 9029 | | |
9030 | | - | |
| 9030 | + | |
9031 | 9031 | | |
9032 | 9032 | | |
9033 | 9033 | | |
| |||
9058 | 9058 | | |
9059 | 9059 | | |
9060 | 9060 | | |
9061 | | - | |
| 9061 | + | |
9062 | 9062 | | |
9063 | 9063 | | |
9064 | 9064 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
| 642 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27134 | 27134 | | |
27135 | 27135 | | |
27136 | 27136 | | |
27137 | | - | |
| 27137 | + | |
27138 | 27138 | | |
27139 | 27139 | | |
27140 | 27140 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9472 | 9472 | | |
9473 | 9473 | | |
9474 | 9474 | | |
9475 | | - | |
| 9475 | + | |
9476 | 9476 | | |
9477 | 9477 | | |
9478 | 9478 | | |
| |||
9514 | 9514 | | |
9515 | 9515 | | |
9516 | 9516 | | |
9517 | | - | |
| 9517 | + | |
9518 | 9518 | | |
9519 | 9519 | | |
9520 | 9520 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10181 | 10181 | | |
10182 | 10182 | | |
10183 | 10183 | | |
10184 | | - | |
| 10184 | + | |
10185 | 10185 | | |
10186 | 10186 | | |
10187 | 10187 | | |
| |||
10236 | 10236 | | |
10237 | 10237 | | |
10238 | 10238 | | |
10239 | | - | |
| 10239 | + | |
10240 | 10240 | | |
10241 | 10241 | | |
10242 | 10242 | | |
| |||
0 commit comments