tsParticles React and Vue packages are changing!

Changing? Why?

Starting from today the official React.js and Vue.js (2.x and 3.x) packages have a new name.

Don’t worry, the previous packages are still maintained and updated, until tsParticles version 3.x, but that’s another story.

So wh…


This content originally appeared on DEV Community and was authored by Matteo Bruni

Changing? Why?

Starting from today the official React.js and Vue.js (2.x and 3.x) packages have a new name.

Don't worry, the previous packages are still maintained and updated, until tsParticles version 3.x, but that's another story.

So what has changed?

React.js

react-tsparticles becomes react-particles, same version (starting from 2.1.3, the latest version that you should use 👀), you can just remove the ts from the package and you're done.

Vue.js

2.x

particles.vue becomes vue2-particles, one major version down. If you are using the version 3.1.3 (the latest, and I really hope you are using this 👀), you have to downgrade that version to 2.1.3 (so it's the exact version of tsParticles)

particles.vue had a major version change when tsParticles was still in v1 because of a major change.
Since vue2-particles is a fresh package, I decided to keep its version aligned with the main package.

3.x

particles.vue3 becomes vue3-particles, same version (starting from 2.0.3, but I recommend using always the latest version, at the moment is 2.1.3).

Recap

A small recap to be clear in few lines:

react-tsparticles -> react-particles, starting from 2.1.3, no different version numbers

particles.vue -> vue2-particles, starting from 3.0.3/2.0.3, they'll have a different major version, but they share the same code

particles.vue3 -> vue3-particles, starting form 2.0.3, no different version numbers

A migration is really suggested, since the "old" packages could become obsolete in the future.

Another thing...

I've launched the tsParticles official sub reddit here: https://www.reddit.com/r/tsParticles

You can also see a full list of tsParticles official components here

Reddit Logo All tsParticles Official Components

GitHub logo matteobruni / 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.

banner

tsParticles - TypeScript Particles

A lightweight TypeScript library for creating particles. Dependency free (*), browser ready and compatible with React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Riot.js, Solid.js, and Web Components

Rate on Openbase jsDelivr Cdnjs npmjs npm lerna CodeFactor Codacy Badge Gitpod Ready-to-Code Run on Repl.it

Discord Slack Telegram Reddit

tsParticles Product Hunt

Table of Contents

⚠️⚠️ This readme refers to upcoming v2 version, read here for v1 documentation ⚠️⚠️


This content originally appeared on DEV Community and was authored by Matteo Bruni


Print Share Comment Cite Upload Translate Updates
APA

Matteo Bruni | Sciencx (2022-07-27T15:52:17+00:00) tsParticles React and Vue packages are changing!. Retrieved from https://www.scien.cx/2022/07/27/tsparticles-react-and-vue-packages-are-changing/

MLA
" » tsParticles React and Vue packages are changing!." Matteo Bruni | Sciencx - Wednesday July 27, 2022, https://www.scien.cx/2022/07/27/tsparticles-react-and-vue-packages-are-changing/
HARVARD
Matteo Bruni | Sciencx Wednesday July 27, 2022 » tsParticles React and Vue packages are changing!., viewed ,<https://www.scien.cx/2022/07/27/tsparticles-react-and-vue-packages-are-changing/>
VANCOUVER
Matteo Bruni | Sciencx - » tsParticles React and Vue packages are changing!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/07/27/tsparticles-react-and-vue-packages-are-changing/
CHICAGO
" » tsParticles React and Vue packages are changing!." Matteo Bruni | Sciencx - Accessed . https://www.scien.cx/2022/07/27/tsparticles-react-and-vue-packages-are-changing/
IEEE
" » tsParticles React and Vue packages are changing!." Matteo Bruni | Sciencx [Online]. Available: https://www.scien.cx/2022/07/27/tsparticles-react-and-vue-packages-are-changing/. [Accessed: ]
rf:citation
» tsParticles React and Vue packages are changing! | Matteo Bruni | Sciencx | https://www.scien.cx/2022/07/27/tsparticles-react-and-vue-packages-are-changing/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.