How to show an animated scene at format with react-vtk ?

I would like to render a animated scene with react-vtk. Everything works fine with this code: but the scene is not animated. How should I change this code to show an animation ? The scene I used comes from the “can” example furnished with paraview 5.12. I have exported it from there at format.