Pull Requests
#18000
useMutableSource hook [work in progress]
#28912
(Land #28798) Move Current Owner (and Cache) to an Async Dispatcher
#28911
Go back to shared refs instance object
#28910
Support ref cleanup function for imperative handle refs
#28909
Reconciler: Change `commitUpdate` signature to account for unused `updatePayload` parameter
#28907
[Flight][Fizz] tasks that ping in a microtask should render synchronously
#28906
Update README.md
#28905
Update canary channel label to "beta"
#28904
warn -> error for Test Renderer deprecation
#28902
Update App.test.js
#28901
fix: export `jsx-runtime.react-server.js` as `react/jsx-dev-runtime`
#28900
[Flight][Fizz] schedule flushing independently from performing work
#28899
Create short link for jsx warning
#28896
Remove automatic fetch `cache` instrumentation
#28895
Add ref callback test for cleanup fn vs null call
#28894
[Flight][Fizz] ping work within current task
#28893
[Flight Reply] Encode ReadableStream and AsyncIterables
#28892
Install ESLint v9
#28891
Cleanup `replayFailedUnitOfWorkWithInvokeGuardedCallback`and `enableProfilerNestedUpdateScheduledHook`
#28890
Fix readme errors
#28889
Update README.md
#28888
ljust for example
#28887
Use undici polyfill for tests in old Node versions
#28883
Remove warning for ref cleanup function
#28881
Don't minify symbols in production builds
#28880
Build react-reconciler for FB builds
#28879
Unrevert "Support writing to this.refs from userspace"
#28878
[Experiment] Reuse memo cache after interruption
#28877
Revert "Support writing to this.refs from userspace"
#28875
convert circleci workflow devtools_regression_tests to github actions
#28874
Deprecate `renderToStaticNodeStream` (#28872)
#28873
Remove `renderToStaticNodeStream`
#28872
Deprecate `renderToStaticNodeStream`
#28871
[Fizz] escape <script> textContent similar to bootstrapScript
#28870
[Fizz] escape <style> textContent as css
#28869
Write Diff Train import branch to this repo
#28868
[Fiber/Fizz] Support AsyncIterable as Children and AsyncGenerator Client Components
#28867
Support writing to this.refs from userspace
#28865
Revert "convert circleci workflow devtools_regression_tests to github actions"
#28864
Remove ReactFlightFB bundles
#28860
Add missing bundle types for ReactCacheOld
#28859
delete useless eslint-disable-next-line
#28858
[Devtools] Rename Forget badge
#28857
Update ReactNativeTypes for root options (part 2)
#28856
Complete the typo fix
#28855
console test utils fix: match entire string, not just first letter
#28854
[Flight / Flight Reply] Encode Iterator separately from Iterable
#28853
Warn for Child Iterator of all types but allow Generator Components
#28852
Test top level fragment inside lazy semantics
#28851
Promote ASYNC_ITERATOR symbol to React Symbols
#28850
Add ReactNativeTypes for root options
Build Activity
#14333
Merged master and resolved useEvent conflicts
I am being a little lazy here and merging instead of rebasing because practically every commit conflicted with Dominic's recent useEvent PR. If anyone feel strongly about this, I will revert the commit and...
#14183
Added new failing tests (pending a separate fix to React)
#13675
Added new failing tests (pending a separate fix to React)
#13664
Replaced .warn() with .error() for mutable source unsubscribe check
#13655
Misc. cleanup
1. Use currentlyRenderingFiber to calculate expiration time rather than using a ref.
2. Use polyfilled is() rather than Object.is()
3. Add __EXPERIMENTAL__ guard to test since new APIs aren't in stable build
4. Removed error code that wa...
#13652
Misc. cleanup
1. Use currentlyRenderingFiber to calculate expiration time rather than using a ref.
2. Use polyfilled is() rather than Object.is()
3. Add __EXPERIMENTAL__ guard to test since new APIs aren't in stable build
4. Removed error code that wa...
#13650
Defer getWorkInProgressRoot() call unless root is needed
#13647
Removed createMutableSource and useMutableSource exports from React stable release
#13641
Reenabled a pending disabled mutable source test
#13639
Whitespace only change
#13638
Misc. cleanup
1. Reset mutable source WIP version in complete and unwind work (rather than prepare fresh stack).
2. Add check to warn about multiple primary/secondary renderers using the same mutable source. (Patterned after our current context warnin...
#13513
Removed unused 'isMount' param from uMS
#13512
Pass underlying source to getVersion fn
#13478
Always treat reads from source as unsafe when getSnapshot changes
I initially thought that we could treat them as safe if the returned snapshot value was the same, but this ignored the case where the underlying source was mutated between when the stat...
#13477
Always treat reads from source as unsafe when getSnapshot changes
I initially thought that we could treat them as safe if the returned snapshot value was the same, but this ignored the case where the underlying source was mutated between when the stat...
#13049
Always treat reads from source as unsafe when getSnapshot changes
I initially thought that we could treat them as safe if the returned snapshot value was the same, but this ignored the case where the underlying source was mutated between when the stat...
#13047
Always treat reads from source as unsafe when getSnapshot changes
I initially thought that we could treat them as safe if the returned snapshot value was the same, but this ignored the case where the underlying source was mutated between when the stat...
#13039
Handle mutations that occur between scheduled updates and render
#12865
Always reset state queue when getSnapshot changes
Even if the current snapshot value is the same, there may be pending, lower priority updates that we no longer want to eventually render.
#12854
Use a second effect to sync getSnapshot and stateHook values on commit
This prevents the subscription callback from closing over stale values.
#12562
Added a (disabled) test to cover uSM throwing during sync update
#12416
Added a (disabled) test to cover uSM throwing during sync update
#12273
Added React debug tools test for new hook
#12120
Added React debug tools test for new hook
#11867
Refactor useMutableSource to be more efficient
Remove unnecessary useRef in favor of hook state.
Directly mutate composed state hook queue to reset in the case of a new subscribe or source.
#11859
Refactor useMutableSource to be more efficient
Remove unnecessary useRef in favor of hook state.
Directly mutate composed state hook queue to reset in the case of a new subscribe or source.
#11663
Split useMutableSource tests into separate suite
#11662
Read mutable source composed hooks from current dispatcher
Rather than passing them in explicitly. This removes the extra function call.
#11644
Avoid deopt on changed getSnapshot function unless snapshot also changes
getSnapshot should be memoized to only change when its inputs change, but if that memoization is done incorrectly (or if the new snapshot just happens to be the same regardless o...
#11642
Avoid deopt on changed getSnapshot function unless snapshot also changes
getSnapshot should be memoized to only change when its inputs change, but if that memoization is done incorrectly (or if the new snapshot just happens to be the same regardless o...
#11639
Fixed a typo/bug in setState updater function
#11524
Refactored useMutableSource to use update queue
For now, the hook just uses useEffect and useState under the hood. This probably makes it a little less effcient at runtime but perhaps a little smaller in code size.
This change ended up being a little...
#11512
useMutableSource hook
useMutableSource() enables React components to safely and efficiently read from a mutable external source in Concurrent Mode. The API will detect mutations that occur during a render to avoid tearing and it will automatically sch...
#11080
Refactored API to remove config in favor of directly passing functions
#11026
Check version before snapshot on commit
We need to schedule a cascading update if source changes between render and commit, but it's probably faster to check version than snapshot, so let's at least check it first.
#11021
Added TODO for partial renderer
#11019
Refactor pending mutable source expiration time to be per root, not per root + per source
#11014
Changed Flow syntax that was causing invalid build syntax
#11012
Replaced Error constructor with invariant
#10903
Refactored hook to reflect changes in RFC
#10902
Refactored hook to reflect changes in RFC
#10900
Refactored hook to reflect changes in RFC
#10554
Fixed high pri updates erasing pending lower pri subscription updates
#10553
Fixed high pri updates erasing pending lower pri subscription updates
#10311
Removed DEV warnings; they didn't follow precedent set by other hooks.
#10308
useMutableSource reduce amount of metadata cached during render
#10305
useMutableSource reduce amount of metadata cached during render
#10291
useMutableSource hook
useMutableSource() enables React components to safely read from a mutable external source in Concurrent Mode. This API will detect mutations that occur during a render to avoid tearing. It will also automatically schedule updates...
#10288
useMutableSource hook
useMutableSource() enables React components to safely read from a mutable external source in Concurrent Mode. This API will detect mutations that occur during a render to avoid tearing. It will also automatically schedule updates...
facebook/react    #10305
Loading Sandboxes...
Loading Packages...
Loading Install Instructions...
Finished!