--- layout: default title: Shuffle with React description: An example using the React framework with Shuffle. image: /demos/flexbox-grid.jpg extraJS: [ "demos/react.js" ] externalJS: ["https://unpkg.com/react@16/umd/react.production.min.js", "https://unpkg.com/react-dom@16/umd/react-dom.production.min.js", "https://unpkg.com/@babel/standalone/babel.min.js"] jsType: "text/babel" prism: true ---
And other view-based libraries like Vue and Preact.
The simplest way is to use shuffleInstance.resetItems();
inside the componentDidUpdate()
lifecycle method.