hi long time user first time Slacker, Having some...
# ask-questions
r
hi long time user first time Slacker, Having some overall site performance issues, and any help would be greatly appreciated we currently init growthbook in our React app root file a la
Copy code
growthbook = new GrowthBook({someStuff})

growthbook.loadFeatures()

<SomeErrorProvider>
  <GrowthBookProvider>
    <SomeLesserProvider>
      <App params={params} />
    </SomeLesserProvider>
  </GrowthBookProvider>
</SomeErrorProvider>
was wondering if anyone new of a more ad-hoc way to implement GB so that we wouldnt have to use it sitewide, when we only have a handful of experiments on a handful of components. Any other suggestions regarding speeding up Growthbook are also welcome!! Thanks all Kev
s
Hi Kevin, it's definitely possible to use GB in a more ad-hoc manner. You could use the JavaScript SDK instead and place it exactly where you need to use it. The JS SDK runs under the hood of our React SDK so it would be effectively the same thing.
👀 2
r
thank you Adnan, i will give this a whirl!