Hello everyone, I’ve been using <GrowthBook DevTo...
# sdk-react
s
Hello everyone, I’ve been using GrowthBook DevTools for my application, and it has always updated the UI immediately and worked flawlessly for years. Recently, I upgraded
react
and
react-dom
from version
v18.3.1
to the latest stable
v19.2.0
, and
next
from
v14
to
v15
. After that, the UI stopped updating in my local development server. I tried downgrading only the NextJs version back to
v14
, but the issue persisted. The UI updates correctly only when I revert both
react
and
react-dom
to version
18.3.1
. I investigated to find out when the issue first appeared, and it seems that starting from version 19.0.0-beta-4508873393-20240430. The local development version no longer responds to overridden value changes via GrowthBook DevTools, while the locally built version still works as expected. Thanks in advance.
s
Hey thanks for the report! So if I understand, it seems like the update to React/React DOM 19 is causing dev tools to no longer work. But it still works when you build locally?
s
Thanks for the reply. Yes, Absolutely correct 👍 The feature flag value changing no longer updates UI only for local dev server
s
Thanks. There must be something in the new React version. I'll see if I can debug.
thankyou 1
s
Thanks for trying! Is there anything I can provide that makes debugging easier?
@strong-mouse-55694 Any success ?
s
I spun up a React 19 project and I couldn't replicate. I still need to try a Next.js project with React 19.
👍 1
thankyou 1