This message was deleted.
# ask-questions
w
This message was deleted.
f
Are you getting an error?
w
Just edited the message to include the error.
I have followed both the guide and reviewed the example repo on GitHub.
Quick question? Does the plugin work with localhost or needs to be a prod url?
f
it works for either
w
Any ideas on what else I can do to troubleshoot?
I’ve been dealing with this issue since Friday.
f
is this public?
w
It’s not public but its not something super sensitive. I can init a new repo and copy over the relevant files if you’d like.
Give me a few I will do that to see if it works in a newly inited app with the same setup but redacted.
f
I would make sure that devmode is enabled
and that growthbook init is called
you can share the implementation if you like, I can take a look - but if this was working, and then stopped, it might be something else
w
It never worked.
f
ah, well, that's easier
What does this look like in the rendered html?
oh wait
you're using this serverside
the devtools only works for client side
w
Now thats something I couldn’t find anywhere in the docs or github 🙂
f
ah
w
Okay cool so its not broken
f
yes, sorry about that
w
So In order to make it work, I need to follow the client or client-optimized examples found in GitHub?
Got it working now! Thanks for all the help!
Removed the original screenshot because the keys were exposed!
f
👍
w
Ok so I got everything setup based on the examples, and have the chrome plugin working and its been helpful. I’ve noticed that when I manually enable a specific feature or experiment its starts re-rendering that component, and the dev tools keeps refreshing each second or so.
Not sure what I am doing wrong, would like it to render only once. It has something to do with the useMemo and useEffect.
This is the page.tsx
This is the hero-wrapper.tsx
This is the hero.tsx
This is how the dev tools plugin is acting
@fresh-football-47124 No rush on a response, but if you can give me some advice, would be awesome.
127 Views