15 Matching Annotations
  1. Aug 2021
  2. May 2021
  3. Mar 2021
  4. Feb 2021
  5. Jan 2021
  6. Oct 2020
    1. In the next major, we'll start copying the ref onto both the props and the element.ref. React will now use the props.ref as the source of truth for forwardRef and classes and it will still create a shallow copy of props that excludes the ref in these cases. At the same time, we'll add a getter for element.ref in DEV that warns if you access it. The upgrade path is now to just access it off props if you need it from the element.