score:1

just use an useeffect hook and it should work

import {useeffect} from 'react';
import mixitup from 'mixitup'

function app() {

// just use an useeffect hook like that
useeffect(() => {
    mixitup(".items", {
      selectors: {
        target: ".item",
      },
      animation: {
        duration: 500
      }
    });
  }, []);

return (
    <div classname="app">
      <yourcomponents/>
    </div>
  );
}

Related Query

More Query from same tag