Wrapper: @tsparticles/react
Wrapper oficial de React para tsParticles.
Instalar
bash
pnpm add @tsparticles/react @tsparticles/engine @tsparticles/slimFlujo de configuración rápida
- Instale el paquete wrapper + engine + loader.
- Inicialice una vez con
ParticlesProvideryloadSlim. - Renderice el componente
Particlescon opciones tipadas.
Referencias de Monorepo
- Carpeta del paquete: https://github.com/tsparticles/tsparticles/tree/main/wrappers/react
- Aplicación de demostración: https://github.com/tsparticles/tsparticles/tree/main/demo/react
README
- README del wrapper: https://github.com/tsparticles/tsparticles/tree/main/wrappers/react#readme
