I have a sandbox that is basically a slider made in React, where old data gets replaced by new data every time the user presses the button Next or Previous. I want to use fr