Hacker GitHub

← All repos

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

Mentions per year 45 mentions · busiest year 2020 (14)
20082026
  1. …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...
  2. …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
  3. …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
  4. We agree. https://github.com/reactjs/rfcs/pull/229
    comment by danabramov · 2023-03-16 · in Introducing react.dev
  5. …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
  6. …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
  7. 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…
  8. 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
  9. ▲ 7
    RFC: First class support for promises and async/await
    story by luishdz1010 · 2022-10-23 · 0 comments
  10. ▲ 7
    React: RFC: First class support for promises and async/await
    story by gl-prod · 2022-10-15 · 0 comments
  11. ▲ 2
    ReactJS RFC: First class support for promises and async/await
    story by bamazizi · 2022-10-14 · 0 comments
  12. ▲ 4
    React RFC: First class support for promises and async/await (Suspense for Data)
    story by swyx · 2022-10-13 · 0 comments
  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…
  14. ▲ 2
    RFC: UseEvent
    story by pspeter3 · 2022-05-05 · 0 comments
  15. ▲ 7
    UseEvent RFC: Hook for event handlers with an always-stable function identity
    story by tomduncalf · 2022-05-04 · 4 comments
  16. ▲ 3
    React RFC: useEvent()
    story by bpierre · 2022-05-04 · 0 comments
  17. ▲ 2
    RFC: Intent to Ship React 18
    story by saranshk · 2022-03-30 · 0 comments
  18. ▲ 86
    RFC: Intent to Ship React 18
    story by 0xedb · 2022-03-24 · 72 comments
  19. 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
  20. ▲ 2
    RFC: React Server Components
    story by xal · 2020-12-22 · 0 comments
  21. 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
  22. …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
  23. 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
  24. …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
  25. ▲ 1
    RFC: React Server Components
    story by eimg · 2020-12-21 · 0 comments
  26. 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
  27. …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
  28. …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
  29. …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
  30. 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
  31. …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
  32. …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...
  33. …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
  34. …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
  35. …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?
  36. …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?
  37. You're not alone! https://github.com/reactjs/rfcs/pull/68#issuecomment-4331815...
    comment by bnjmn · 2018-10-25 · in Introducing Hooks
  38. 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
  39. 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
  40. …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…
  41. …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
  42. …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
  43. 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
  44. …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
  45. …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