Commit 3ca281e
Removed SharedProps in favour of "*" from react-html-attributes (#84)
* Codegen now supports global and React-specific attributes.
These are the ones stored under the key "*" in react-html-attributes.
How to handle some of these is currently unclear (to me).
Fixes #83.
* codegen: support dangerouslySetInnerHTML as a plain record.
* codegen: resolved TODO attributes, turned out all to be Strings.
Needed to look into the React source code, see
https://github.com/facebook/react/blob/master/fixtures/attribute-behavior/AttributeTableSnapshot.md
They are apparently not documented anywhere else that I could find.
* codegen: HTML attribute types may differ across containing elements.
* Bumped version of react-html-attributes we depend on.
Fixes #76.
* Use own copy of react-html-attributes.
Currently unmodified 1.4.6.
* Removed SharedProps, in favour of "*" in react-html-attributes.
* Added global attribute "ref".
* Updated generated-docs.1 parent 05f0cf2 commit 3ca281e
File tree
15 files changed
+12457
-870
lines changed- codegen
- generated-docs/React
- Basic
- DOM
- Components
- src/React
- Basic
- DOM
15 files changed
+12457
-870
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
3 | 30 | | |
4 | 31 | | |
| 32 | + | |
5 | 33 | | |
| 34 | + | |
| 35 | + | |
6 | 36 | | |
7 | 37 | | |
8 | 38 | | |
9 | 39 | | |
10 | | - | |
| 40 | + | |
| 41 | + | |
11 | 42 | | |
| 43 | + | |
12 | 44 | | |
13 | 45 | | |
14 | 46 | | |
| 47 | + | |
15 | 48 | | |
16 | 49 | | |
17 | 50 | | |
18 | 51 | | |
19 | | - | |
20 | | - | |
| 52 | + | |
| 53 | + | |
21 | 54 | | |
22 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
23 | 59 | | |
| 60 | + | |
24 | 61 | | |
25 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
26 | 73 | | |
27 | | - | |
28 | | - | |
29 | 74 | | |
30 | 75 | | |
31 | 76 | | |
| 77 | + | |
32 | 78 | | |
33 | 79 | | |
34 | | - | |
35 | | - | |
| 80 | + | |
36 | 81 | | |
37 | 82 | | |
38 | 83 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
42 | 92 | | |
43 | 93 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
19 | 33 | | |
20 | 34 | | |
21 | | - | |
| 35 | + | |
22 | 36 | | |
23 | 37 | | |
24 | 38 | | |
| |||
27 | 41 | | |
28 | 42 | | |
29 | 43 | | |
30 | | - | |
31 | | - | |
| 44 | + | |
| 45 | + | |
32 | 46 | | |
33 | 47 | | |
34 | 48 | | |
35 | 49 | | |
36 | | - | |
| 50 | + | |
37 | 51 | | |
38 | 52 | | |
39 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
0 commit comments