-
Notifications
You must be signed in to change notification settings - Fork 49.2k
Add custom element property support behind a flag #22184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
a2f57e0
custom element props
josepharhar 92f1e1c
custom element events
josepharhar 52166d9
use function type for on*
josepharhar a5bb048
tests, htmlFor
josepharhar 660e770
className
josepharhar a84a2e6
fix ReactDOMComponent-test
josepharhar db7e13d
started on adding feature flag
josepharhar 74a7d9d
added feature flag to all feature flag files
josepharhar 7bb6fa4
everything passes
josepharhar 55a1e3c
tried to fix getPropertyInfo
josepharhar 23d406b
used @gate and __experimental__
josepharhar 8a2651b
remove flag gating for test which already passes
josepharhar ae33345
fix onClick test
josepharhar 9bec8b1
add __EXPERIMENTAL__ to www flags, rename eventProxy
josepharhar af292bc
Add innerText and textContent to reservedProps
josepharhar 1a093e5
Emit warning when assigning to read only properties in client
josepharhar 9d6d1dd
Revert "Emit warning when assigning to read only properties in client"
josepharhar dc1e6c2
Emit warning when assigning to read only properties during hydration
josepharhar 6fa57fb
yarn prettier-all
josepharhar 333d3d7
Gate hydration warning test on flag
josepharhar 632c96c
Merge with 2 months of upstream commits
josepharhar b26e31f
Fix gating in hydration warning test
josepharhar ed4f899
Fix assignment to boolean properties
josepharhar 4da5c57
Replace _listeners with random suffix matching
josepharhar 91acb79
Improve gating for hydration warning test
josepharhar 3cf8e44
Add outerText and outerHTML to server warning properties
josepharhar 1fe88e2
remove nameLower logic
josepharhar 7e6dc19
fix capture event listener test
josepharhar 7f67c45
Add coverage for changing custom event listeners
josepharhar 97ea2b4
yarn prettier-all
josepharhar 5d641c2
yarn lint --fix
josepharhar fead37f
replace getCustomElementEventHandlersFromNode with getFiberCurrentPro…
josepharhar 77afc53
Remove previous value when adding event listener
josepharhar c198d82
flow, lint, prettier
josepharhar 3b0d45b
Add dispatchEvent to make sure nothing crashes
josepharhar 7509c6d
Add state change to reserved attribute tests
josepharhar a59042e
Add missing feature flag test gate
josepharhar 39b142e
Reimplement SSR changes in ReactDOMServerFormatConfig
josepharhar 1c86699
Test hydration for objects and functions
josepharhar b043bfb
add missing test gate
josepharhar 37ccabe
remove extraneous comment
josepharhar 8fcf649
Add attribute->property test
josepharhar 4bd3b44
Merge with 4 weeks of upstream commits
josepharhar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.