Home App Docs Blog Github

Running Custom Javascript SSR doesn't seem to work

Is it the function that updates the product price? seems to be working in SSR, I can see the price already rendered in the server rensponse (with js off)

I pass the price to the model as state. Then have a function in the model that updates it again. That’s why you see the price. You see the initial state.

@ismailp do you mind sharing a codesandbox or github repo where we can reproduce the issue? So far we’ve had trouble reproducing with our next.js site and our example apps, so any additional environment where we can see the error would be helpful in diagnosing the integration.

You could always try to reproduce in one of the examples in our public repo as well:
next.js example
custom component example