React
Best practices when using React
When using React, the HTML code from your product pages is modified dynamically. This may cause part of your code to be preserved when browsing from one page to the next.
For example, this could maintain the product ID from a previous product page into a new one, and cause Size Adviser to provide recommendations based on that previous product.
To prevent such issues, we suggest that you completely remove the Size Adviser container from your code each time a new page is loaded.
This will ensure that the Usizy script is fully reloaded for each page, to avoid any potential inaccuracies.