reactjs/rfcs
View on GitHub ↗ ★ 5,819
RFCs for changes to React
45 mentions on Hacker News by 31 people: 11 stories, 34 comments · first 2018-03-28 · latest 2024-02-27
20082026
-
…time, and since this in a class is mutable, renders that should be the same may not be. [1] [0] - https://github.com/reactjs/rfcs/pull/68#issuecomment-4778866... [1] - https://tkplaceholder.io/why-function-components-fit-react-b...
comment by azangru · 2024-02-27 · in React Labs: What We've Been Working On – February 2024 -
…event handlers causing effects to re-fire[1]. Now it's just going to focus on the effect issue. [1] https://github.com/reactjs/rfcs/blob/useevent/text/0000-usee...
comment by robby_w_g · 2023-03-23 · in You might not need an effect -
…worthwhile is Sebastian Markbåge's ending summary about why the team was going with hooks[2]. [1] https://github.com/reactjs/rfcs/pull/68 [2] https://github.com/reactjs/rfcs/pull/68#issuecomment-4393148...
comment by rimunroe · 2023-03-18 · in Introducing react.dev -
We agree. https://github.com/reactjs/rfcs/pull/229
comment by danabramov · 2023-03-16 · in Introducing react.dev -
…are more honest to what React is trying to be. Relevant part from Seb's Hooks RFC comment ( https://github.com/reactjs/rfcs/pull/68#issuecomment-4393148... ): > Classes may seem like the ideal thing to hold state since that's what they're…
comment by danabramov · 2023-03-16 · in Introducing react.dev -
…through the thread but I wonder how much of it is effective replaced by the upcoming useEvent hook https://github.com/reactjs/rfcs/blob/useevent/text/0000-usee...
comment by aidos · 2023-03-16 · in Introducing react.dev -
Have you already read the RFC? https://github.com/reactjs/rfcs/blob/main/text/0188-server-c... Also, Next does have beta docs on using RSC, not their internal details too much, which would be enough for 90% of the cases of practically…
comment by reducesuffering · 2023-01-22 · in Things I want to see in JavaScript and Front end development in 2023 -
it's a new "hook", https://vived.io/new-hook-is-coming-to-react-frontend-weekly... https://github.com/reactjs/rfcs/pull/229 contain some discussion
comment by nthitz · 2022-10-25 · in Next.js 13 -
…with Vercel on improving the conventions of server modules (e.g. dropping the filename suffix): https://github.com/reactjs/rfcs/pull/189#issuecomment-111648... and we anticipate to release future versions of Hydrogen and Next.js that use…
comment by jplhomer · 2022-06-23 · in How we built Hydrogen, a React framework for building custom storefronts -
See https://github.com/reactjs/rfcs/blob/07dd4bc4807605020351606... : >We don’t send the whole state of the program to the server. Interactive bits should be Client components.
comment by danabramov · 2020-12-22 · in Zero-Bundle-Size React Server Components -
There is also another RFC that proposes alternatives: https://github.com/reactjs/rfcs/pull/189
comment by sugarpirate · 2020-12-21 · in Zero-Bundle-Size React Server Components -
…than the 10kb component...? Seems odd that they haven't worked out how this works for routing yet ( https://github.com/reactjs/rfcs/blob/07dd4bc4807605020351606... ) and that in the demo the whole app is rendered, not individual…
comment by kaleidawave · 2020-12-21 · in Zero-Bundle-Size React Server Components -
Not quite. https://github.com/reactjs/rfcs/blob/bf51f8755ddb38d92e23ad4... >Our server isn’t stateful. The tradeoff is we refetch more coarsely.
comment by danabramov · 2020-12-21 · in Zero-Bundle-Size React Server Components -
…closely w the Vercel folks for a while now, and this result is exactly what I've been waiting for. https://github.com/reactjs/rfcs/blob/bf51f87/text/0000-serve...
comment by chrisweekly · 2020-12-21 · in Zero-Bundle-Size React Server Components -
The RFC, which explains what these are without a video: https://github.com/reactjs/rfcs/blob/bf51f8755ddb38d92e23ad4...
comment by brundolf · 2020-12-21 · in Zero-Bundle-Size React Server Components -
…rigamarole) - Move defaultProps resolution to class render time. (ed: performance? not sure) https://github.com/reactjs/rfcs/pull/107 [append] Much better link: https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0...
comment by CGamesPlay · 2020-09-23 · in New JSX Transform -
…dependencies are necessary to write components for libraries that use JSX. EDIT: added as comment https://github.com/reactjs/rfcs/pull/107#issuecomment-696978...
comment by fiddlerwoaroof · 2020-09-22 · in New JSX Transform -
…exact gains (or losses) but there's a fair bit of discussion around perf. in the RFC thread. e.g. https://github.com/reactjs/rfcs/pull/107#issuecomment-520887... re: prop re-use and https://github.com/reactjs/rfcs/pull/107#issuecomment-4664…
comment by lucideer · 2020-09-22 · in New JSX Transform -
A lot of context on this here https://github.com/reactjs/rfcs/pull/107 There's a subtle aspect of this change that may not be immediately apparent. One that, imho, significantly regresses JSX as an independent syntax outside of React (i.e.…
comment by lucideer · 2020-09-22 · in New JSX Transform -
…this comment [0] from the hooks RFC discussion how they could have been made more functional. [0]: https://github.com/reactjs/rfcs/pull/68#issuecomment-4331556...
comment by mplanchard · 2020-09-03 · in React is becoming a black box -
…a few posts that explain in more detail: https://overreacted.io/why-do-hooks-rely-on-call-order/ https://github.com/reactjs/rfcs/pull/68#issuecomment-4393148...
comment by rossta · 2020-04-18 · in Crank.js – Write JSX-driven components with functions, promises and generators -
…being called inside your own component. If you've got time, skimming the original React Hooks RFC https://github.com/reactjs/rfcs/pull/68 ) is informative (and admittedly difficult, because there's hundreds of similar comments).
comment by acemarke · 2019-09-10 · in Frustrations with React Hooks -
…https://overreacted.io/react-as-a-ui-runtime/#static-use-ord... https://github.com/reactjs/rfcs/pull/68#issuecomment-4393148... (Persistent Call Index section) Hope this helps, happy to answer questions. We’ve been using H
comment by danabramov · 2019-02-06 · in With React 16.8, React Hooks are available in a stable release -
…techniques. I really suggest to read it all — my post wasn’t intended to answer all questions. https://github.com/reactjs/rfcs/pull/68#issuecomment-4393148...
comment by danabramov · 2018-12-13 · in Why Do React Hooks Rely on Call Order? -
…comment which is linked five times throughout the post — you should definitely check it out! https://github.com/reactjs/rfcs/pull/68#issuecomment-4393148... Finally, don't forget you're comparing Hooks to classes . Those are hardly…
comment by danabramov · 2018-12-13 · in Why Do React Hooks Rely on Call Order? -
You're not alone! https://github.com/reactjs/rfcs/pull/68#issuecomment-4331815...
comment by bnjmn · 2018-10-25 · in Introducing Hooks -
This has been suggested in the RFC discussion ( https://github.com/reactjs/rfcs/pull/65 ). We intentionally didn't do it for several reasons: * It adds extra object allocations on every render which adds up when your project grows * It's…
comment by danabramov · 2018-10-24 · in React v16.6.0: lazy, memo and contextType -
Not quite sure what you mean. Maybe the RFC might explain the motivation a bit more? https://github.com/reactjs/rfcs/blob/master/text/0065-contex... The contextType API serves as a convenience for the most common case of accessing context…
comment by danabramov · 2018-10-24 · in React v16.6.0: lazy, memo and contextType -
…by allowing us to pass a `calculateChangedBits` function directly to a `Context.Provider` instance: https://github.com/reactjs/rfcs/pull/60 Sebastian Markbage replied in that RFC thread, and tbh the discussion seemed a bit odd. It seemed…
comment by acemarke · 2018-09-13 · in React-copy-write: immutable React state management library -
…event listeners or setting up subscriptions (which can cause memory leaks). Here are some others: https://github.com/reactjs/rfcs/blob/master/text/0006-static... > Is it correct to say that `getSnapshotBeforeUpdate` is named to indicate…
comment by brianvaughn · 2018-03-30 · in React v16.3.0: New lifecycles and context API -
…has to do for itself too)- and encouraging safe/bug-free coding practices for future apps. 1: https://github.com/reactjs/rfcs/blob/master/text/0006-static...
comment by brianvaughn · 2018-03-28 · in Update on Async Rendering -
The RFC for getDerivedStateFromProps ( https://github.com/reactjs/rfcs/blob/master/text/0006-static... ) mentions a few! • Initializing Flux stores in componentWillMount. It's often unclear whether this is an actual problem or just a…
comment by brianvaughn · 2018-03-28 · in Update on Async Rendering -
…on the future changes. [1]: https://reactjs.org/blog/2018/03/01/sneak-peek-beyond-react-... [2]: https://github.com/reactjs/rfcs
comment by danabramov · 2018-03-28 · in Update on Async Rendering -
…time we amend it. Thanks! [1]: https://reactjs.org/blog/2018/03/01/sneak-peek-beyond-react-... [2]: https://github.com/reactjs/rfcs/pull/33 [3]: https://reactjs.org/blog/2018/03/27/update-on-async-renderin...
comment by danabramov · 2018-03-28 · in Update on Async Rendering