Pull Requests
#22064
Ensure that `valueOf()` (which may throw) is not called when rendering objects
#29035
[Flight] Enable Binary and ReadableStreams in Stable
#29032
Track Stack of JSX Calls
#29030
ADD A CODE COMMENT
#29028
Use `FormData` `submitter` parameter
#29027
Remove 2 no longer existing files from inlinedHostConfig
#29026
Upgrade jest and jsdom
#29025
Facebook: merge react index.classic.fb and index.modern.fb
#29023
fix[react-devtools/InspectedElementView.css]: dont draw bottom border for empty badge list
#29022
React DevTools 5.1.0 -> 5.2.0
#29019
Support useFormStatus in progressively-enhanced forms
#29016
fix[react-devtools/ci]: fix configurations for e2e testing
#29015
Clean up fastAddProperties and make it more correct
#29014
feat[react-devtools]: display forget badge for components in profiling session
#29013
a
#29010
[Flight Reply] Encode Objects Returned to the Client by Reference
#29009
Check if we ever test without consoleManagedByDevToolsDuringStrictMode
#29008
Stop using Scheduler.log to test double invocations
#29007
Dim `console` calls on additional Effect invocations due to `StrictMode`
#29006
Allow specifying timeout in tests via third argument
#29004
"TypeError: Cannot read property 'setState' of null" when using React.lazy
#29003
Add FB build for ReactReconcilerConstants
#29002
Update getComments.js
#29001
[Flight] Test deduplication with streaming server components
#28997
[Flight Reply] Dedupe Objects and Support Cyclic References
#28996
[Flight] Encode references to existing objects by property path
#28993
refactored shebangs
#28991
Sanitize key
#28990
Setup Wave 2 of Feature Flags for React Native
#28989
Update `compiled-rn` destination paths to `vendor/react`
#28988
[Flight Reply] Resolve outlined models async in Reply just like in Flight Client
#28987
[Fizz] Fallback to client replaying actions if we're trying to serialize a Blob
#28986
[Flight Reply] Encode binary streams as a single collapsed Blob
#28982
fix[react-devtools]: add backwards compat with legacy element type symbol
#28980
Repro for string ref + enableRefAsProp unstable props
#28979
Bundle config: Rename `global` to `hasteFileName` in bundle config
#28978
Bundle config: inline internal hook wrapper
#28977
Enable Wave 1 of Feature Flags for React Native
#28976
Devtools: Fix build-for-devtools
#28975
Devtools: Streamline getting extension from branch
#28974
DevTools: Fix inspecting components with multiple reads of the same Context in React 17
#28973
[DevTools] Expose "view source" options to Fusebox integration
#28972
[DevTools] Enable inspected element context menu in Fusebox
#28970
[DevTools] Check in `frontend.d.ts` for react-devtools-fusebox, include in build output
#28969
Introduce a faster version of the addProperties function
#28966
[Tooling] Update critical artifact list
#28965
[Fiber] render boundary in fallback if it contains a new stylesheet during sync update
#28964
Set enableUseMemoCacheHook to true everywhere
#28963
Stop committing resources to an external repo
#28962
Add `bun` to `react-dom`'s `package.json`.
#28959
typo: fix typos in codes.json
Build Activity
#173386
Add DEV-only string coercion checks to prod files
This commit adds DEV-only function calls to to check if string coercion
using `'' + value` will throw, which it will if the value is a Temporal
object or a symbol because those types can't be added wit...
#171425
Improve debugging DX when string coercions fail
If a coercion throws, the check function will now throw after it calls
console.error(). It's the same exception that will be thrown after
the check function returns, but by throwing it inside of the chec...
#171116
Change DEV checks from throwing to console.error
This commit revises behavior of DEV string-coercion check functions
to use console.error instead of throwing a TypeError. There will still
be an exception thrown but it will be the being-coerced value t...
#171026
Don't report lint error if coercion is safe
This commit extends the safe-string-coercion internal ESLint rule to
auto-detect code where coercion can't fail or is correctly preceded
by a DEV check. In those cases, the rule now won't report.
Changes:
*...
#171020
Don't report lint error if coercion is safe
This commit extends the safe-string-coercion internal ESLint rule to
auto-detect code where coercion can't fail or is correctly preceded
by a DEV check. In those cases, the rule now won't report.
Changes:
*...
#170396
Add disallowStringConstructor option to lint rule
This commit adds a new option to the react-internal/safe-string-coercion
lint rule that controls whether `String(value)` should be disallowed.
ESLint is now configured set up to disallow `String(value...
#169906
Test for different error messages in DEV vs PROD
Tests will now check for a different error message in Prod, which
aligns with actual prod behavior where the error will be thrown
by the Temporal or Symbol object, not by React
#169593
Revise ESLint rules for string coercion
To make string-coercion safer and to improve user-facing error messages,
This commit makes the following changes to coercion-related internal
ESLint rules:
* Adds a new rule for the `'' + value` and `value + ''`...
#160135
Change `''.concat(value)` to `String(value)`
`''.concat(value)` violates current Flow definitons that require args to
concat to be strings only, even though the MDN docs and ES spec allow
args to be any type. See https://github.com/facebook/flow/issue...
#159944
Replace `'' + obj` pattern with `''.concat(obj)`
Using the `+` operator to concatenate strings and objects is problematic
because `+` calls `valueOf` on the object. `valueOf` will throw for
some types of objects. See #20594 for details.
This commit g...
#159941
Replace `'' + obj` pattern with `''.concat(obj)`
Using the `+` operator to concatenate strings and objects is problematic
because `+` calls `valueOf` which will throw for some types.
See #20594 for details.
This commit globally replaces `'' + obj` wi...
#158354
Don't call valueOf during string concatenation
The new Temporal (https://github.com/tc39/proposal-temporal)
date/time API (currently stage 3)
will throw when calling `valueOf` on instances of most Temporal types.
This behavior breaks react-dom's ren...
#158351
Convert to string before concatenation
The new Temporal (https://github.com/tc39/proposal-temporal)
date/time API (currently stage 3)
will throw when calling `valueOf` on instances of most Temporal types.
This behavior breaks react-dom's rendering o...
#158349
Merge branch 'facebook:main' into patch-2
#158334
Convert to string before concatenation
The new [Temporal](https://github.com/tc39/proposal-temporal) date/time API
(currently stage 3) will throw when calling `valueOf` on instances of most Temporal types.
This behavior breaks react-dom's rendering...
facebook/react    #171425
Loading Sandboxes...
Loading Packages...
Loading Install Instructions...
Finished!