You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, there is, to the best of my understanding, no way to make the React SDK work with NextJS's App Router, which is based on RSC (React Server Components). I've hacked around it for now by using the NodeJS SDK for Server Components, passing allFlagState to a custom Provider, which wraps launchdarkly-js-client-sdk in a use client + useEffect, but I'm honestly not thrilled about it haha.
Describe the solution you'd like
Ideally, the react-sdk Just Works™️, but I understand this might be a near-rewrite... I'd love to hear y'alls thoughts ¯\_(ツ)_/¯
The text was updated successfully, but these errors were encountered:
Hello @StevenLangbroek, thank you for reaching out. While we can promise any action on this idea, I will reach out to the JS engineers on the team and see what they think about this.
Is your feature request related to a problem? Please describe.
Currently, there is, to the best of my understanding, no way to make the React SDK work with NextJS's App Router, which is based on RSC (React Server Components). I've hacked around it for now by using the NodeJS SDK for Server Components, passing
allFlagState
to a custom Provider, which wrapslaunchdarkly-js-client-sdk
in ause client
+useEffect
, but I'm honestly not thrilled about it haha.Describe the solution you'd like
Ideally, the
react-sdk
Just Works™️, but I understand this might be a near-rewrite... I'd love to hear y'alls thoughts¯\_(ツ)_/¯
The text was updated successfully, but these errors were encountered: