News for hackers. Stuff that matters.
Re:What's New in React 18? by lucasmullens on Wednesday September 29, 2021 @04:07PM (#28699207)
> At that point the recommended approach is to replace the entire component by using the key property.

Where did you hear that? React.Component has both props and state and both seem to work pretty well together, and you definitely don't need to destroy the component by changing the key property just because props changed.

Re:What's New in React 18? by flowerlad on Wednesday September 29, 2021 @05:36PM (#28700298)