Hello! What approach would you recommend to experi...
# ask-questions
b
Hello! What approach would you recommend to experiment first screen variations in React application (starting the flow from /first-page-route-control or /first-page-route-experiment)? I tried several solutions with a timeout and async await but I still miss setting of experiment variation sometimes when feature is false. So, I try to wait for features to be loaded and then check it and redirect to the needed route.
So, as you can see sometimes I get variation 0 in console, sometimes not.
f
You're doing a redirect test?
b
yes, for the first screen
I am using react-router-dom
I created the main route and redirect from it to the needed page depending on variation
f
you could use an inline experiment, to avoid that network call
or use the proxy