Skip to content

Commit d25697c

Browse files
committed
Prefer 'React Beta' over 'React 19', because once it's released to stable we'll just call it 'React'.
1 parent 2e368fd commit d25697c

File tree

14 files changed

+11
-9
lines changed

14 files changed

+11
-9
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ npm start
2424
```
2525

2626
## Current List of [Libraries/Frameworks](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries)
27+
2728
- [Angular](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/angular)
2829
- [AngularJs](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/angularjs)
2930
- [Dio](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/dio)
@@ -38,7 +39,7 @@ npm start
3839
- [Polymer](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/polymer)
3940
- [Preact](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/preact)
4041
- [React](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/react)
41-
- [React 19](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/react-19)
42+
- [React Beta](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/react-beta)
4243
- [Riot.js](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/riot)
4344
- [Skate](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/skate)
4445
- [Solid](https://github.com/webcomponents/custom-elements-everywhere/tree/master/libraries/solid)
@@ -82,6 +83,7 @@ your library's npm package name. This is used during the build process to
8283
grab the library's semver and publish it on the site.
8384

8485
Example:
86+
8587
```
8688
"scripts": {
8789
"test": "cross-env LIBRARY_NAME=@angular/core karma start",
@@ -167,7 +169,7 @@ Licensed under the [Apache License, Version 2.0](LICENSE) (the "License");
167169
you may not use this file except in compliance with the License. You may
168170
obtain a copy of the License at
169171

170-
http://www.apache.org/licenses/LICENSE-2.0
172+
http://www.apache.org/licenses/LICENSE-2.0
171173

172174
Unless required by applicable law or agreed to in writing, software
173175
distributed under the License is distributed on an "AS IS" BASIS,

docs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const libraryMap = {
3434
polymer: "Polymer",
3535
preact: "Preact",
3636
react: "React",
37-
'react-19': "React",
37+
'react-beta': "React Beta",
3838
riot: "Riot.js",
3939
skate: "Skate w/ Preact",
4040
solid: "Solid",
File renamed without changes.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<h4 id="react-19-overview">React 19</h4>
1+
<h4 id="react-1beta-overview">React Beta</h4>
22

3-
React 19 features full support for Custom Elements.
3+
The React 19 Beta features full support for Custom Elements.
44

5-
<h4 id="react-19-handling-data">Handling data</h4>
5+
<h4 id="react-beta-handling-data">Handling data</h4>
66

77
React@beta, as of April 2024, uses a runtime heuristic to determine if it should pass data to Custom Elements as either properties or attributes. If a property is already defined on the element instance, it will use properties, otherwise it will fallback to attributes.
88

9-
<h4 id="react-19-handling-events">Handling events</h4>
9+
<h4 id="react-beta-handling-events">Handling events</h4>
1010

1111
React@beta, as of April 2024, will register an event listener on any custom element when binding a function to a property whose name begins with <code>on</code>. It supports lowercase, camelCase, kebab-case, CAPScase, and PascalCase events.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

0 commit comments

Comments
 (0)