Hello, I'm trying to use Growthbook on my nextJs ...
# ask-questions
c
Hello, I'm trying to use Growthbook on my nextJs project. I followed this example and it's working great. However, I'd like to know if it was possible to get all features a given context is eligible to (in the react/js sdk)? I'm trying to find a way to pregenerate all variants at buildtime. Example: I have a
/test/
page and several Features, some of which have conditions like
page-path=/X/
and I'd like to pregenerate all variant who should apply to my given page. The rewriting / redirection would be done on runtime using next12 middlewares exactly like in the example. Thanks in advance