Comments (7)
Good catch, this is a bug. We’ll need to add a new FunctionEffect variant for writes to refs, and allow that effect inside JSX and effects.
from react.
Yeah we’ll publish again next week
from react.
Fixed in #29733
from react.
Thanks @josephsavona. A related issue: If a ref is passed as a prop, the compiler can't tell it's a prop, so the linter warns if the prop is mutated. If you fix the bug above, will the linter allow mutating refs passed as props?
from react.
Thanks @josephsavona. A related issue: If a ref is passed as a prop, the compiler can't tell it's a prop, so the linter warns if the prop is mutated. If you fix the bug above, will the linter allow mutating refs passed as props?
This one is slightly different, I created another issue to track that separately here: #29741
from react.
@josephsavona thanks for fix. Are there any plans to publish a new version of the compiler and ESLint plugin soon?
from react.
@josephsavona any updates on publishing?
from react.
Related Issues (20)
- [React 19] renderToReadableStream + bun.sh
- Bug: Setting the state to the same value causes a re-render. HOT 2
- [spam]
- [spam]
- Bug: 1212
- [React 19] Signal & Observable HOT 1
- [DevTools Bug] Cannot remove node "366" because no matching node was found in the Store. HOT 2
- [React 19] Controlled `<select>` component is subject to automatic form reset HOT 8
- Bug: Conditionally rendering a lazy loaded component only after the parent node is attached causes infinite loop HOT 9
- Bug: SetState Calls not being batched inside Promise calls/micro Task HOT 4
- [DevTools Bug] Cannot add node "1" because a node with that id is already in the Store. HOT 2
- deleteme
- Bug: False positive maximum update depth exceeded error HOT 1
- [Compiler]: Using `for` loop for array of strings HOT 3
- Bug: useId generates duplicate IDs on initial render (ssr) HOT 2
- issue with `useCallback` and `useRef` Cleanup in `useEffect` on Production Build with Next.js HOT 1
- [React 19] useOptimistic shows wrong value when other actions happen in the background HOT 1
- [React 19] Inconsistent documentation of useOptimistic second parameter HOT 2
- wdasdasd
- Bug: White Screen Issue with Vite React App on iOS – Works on Other Platforms HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react.