Hey guys,
How are you doing?
I have a question about the server-side instance of the SDK on NextJS.
I saw the example, and it's already working (Server and Client side). (I am not using the flags adapter because I was having an error when I was setting the env variable, it was always forcing me to have the default name of the env vars even if I was passing in the init. It was always saying that it was missing the: GROWTHBOOK_CLIENT_KEY).
1. If I need to check if a feature flag is one, I should always init the Growthbook class, check the feature flag, and then destroy? Can I have one instance as a singleton and import it? Is it a good practice or should I always initiate a new instance?