Shuffle with React

And other view-based libraries like Vue and Preact.

The simplest way is to use shuffleInstance.resetItems(); inside the componentDidUpdate() lifecycle method.

Loading React...

Source code for this demo

Link to demo source