DEV Community

Cover image for tsParticles 1.37.2 Released - react-particles-js deprecation notice
Matteo Bruni for tsParticles

Posted on • Edited on

tsParticles 1.37.2 Released - react-particles-js deprecation notice

tsParticles 1.37.2 Changelog

Bug Fixes

  • Fixed issue with dynamic imports and async loading
  • Added browserslist to fix some issues with older browsers (should fix #2428)

GitHub logo tsparticles / tsparticles

tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.


React Particles.js deprecation

As mentioned in the title, the library react-particles-js is officially deprecated in favor of react-tsparticles, since they share the same core library.

You can read more here, so if you were or are using that library it's recommended to migrate to the tsParticles official React component.

There are also some benefits to this migration:

  • React 17.x support, no need to override peer dependencies warnings
  • More frequent updates, a new React tsParticles version will be released with the core library, they share the same version so you'll know if you have the right version
  • Future proof, since tsParticles v2 is coming with a lot of breaking changes, the React tsParticles component will be ready since day one
  • More updated documentation, you'll find every needed information in the same documentation of tsParticles core library since they share the repository and the maintainer

Top comments (0)