artsy / fresnel

An SSR compatible approach to CSS media query based responsive layouts for React.
https://artsy.github.io/blog/2019/05/24/server-rendering-responsively
Other
1.25k stars 65 forks source link

chore(react): Upgrade to latest react@18.3 types #371

Closed damassi closed 2 weeks ago

damassi commented 2 weeks ago

Addresses DIA-954

React types in 18.3 got a lot more strict, and started failing things in Force's React 18 upgrade PR. So this upgrades things and updates relevant spots.

Marking as a major version change because i'm not sure what the fallout might be for consumers in the ecosystem.

cc @artsy/diamond-devs

📦 Published PR as canary version: 8.0.0--canary.371.4925.0
:sparkles: Test out this PR locally via: ```bash npm install @artsy/fresnel@8.0.0--canary.371.4925.0 # or yarn add @artsy/fresnel@8.0.0--canary.371.4925.0 ```
artsyit commented 2 weeks ago

:rocket: PR was released in v8.0.0 :rocket: