tsParticles
react-i18next
tsParticles | react-i18next | |
---|---|---|
75 | 71 | |
6,999 | 8,942 | |
1.9% | 0.8% | |
9.6 | 8.8 | |
10 days ago | 9 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tsParticles
- tsParticles 3.0.0 is out. Breaking changes ahead.
-
Mocha/Chai with TypeScript (2023 update)
I wrote an article in 2020 for using Mocha/Chai in a TypeScript project, that I'm using in tsParticles (leave a star if you want 🌟, it's free 👀).
-
[Showoff Saturday] I created a link shortener as a fun little project.
At first, I attempted to create my own particle effect, but I realized it's actually a lot harder than it seems. So I went with a third-party library that is made specially for particles. You can check out the repo https://github.com/matteobruni/tsparticles. They have lots of neat effects.
-
Best Animation Libraries For React🎉
tsParticles - Easily create highly customizable particles, confetti, and fireworks animations and use them as animated backgrounds for your website. Ready-to-use components available for Reacts, Angular, Svelte, and Web Components.
-
Easter Eggs
I had a similar idea. Listen for a sequence of keys like "confetti" and then use https://particles.js.org/ to throw confetti all over the screen
-
Create Beautiful Animations by Integrating Particles.js With React
You’re almost done! You just have to configure your particles/objects in order of animation, interaction, direction, opacity, etc. For this illustration, you’ll be using an already preset configuration from the tsparticles repository, but you can always tweak it to your own style or create one from scratch if you’d like.
-
Preparing tsParticles v3
And last but not least, the two websites (https://particles.js.org and https://confetti.js.org) have two dedicated repositories:
-
tsParticles 2.7.0 Released - new Sounds plugin, and other new features
Are you thinking of this, or particles.js? particles.js has been used in Pterodactyl (and probably in other login pages), whereas tsParticles seems to be much more programmable.
- tsParticles - What particles.js could be if it wasn't abandoned years ago
-
How to apply particle JS effect to whole site?
You can still use a json config file even with a pure JS implementation from what I see here https://github.com/matteobruni/tsparticles
react-i18next
-
A brief history of web development. And why your framework doesn't matter
> It’s important to be aware of what you are getting if you go with React, and what you are getting is a far cry from what a framework would offer, with all the corresponding pros and cons.
Would you like to elaborate on that?
In my experience, with something as great, size/ecosystem-wise as React, there will almost always be at least one "mainstream" package for whatever you might want to do with it, that integrates pretty well. Where a lot of things might come out of the box with a framework, with a library I often find myself just needing to install the "right" package, and from there it's pretty much the same.
For example, using https://angular.io/guide/i18n-overview or installing and using https://react.i18next.com/
Or something like https://angular.io/guide/form-validation out of the box, vs installing and using https://formik.org/
Or perhaps https://angular.io/guide/router vs https://reactrouter.com/en/main
Even adding something that's not there out of the box is pretty much the same, like https://primeng.org/ or https://primereact.org/
React will typically have more fragmentation and therefore also choice, but I don't see those two experiences as that different. Updates and version management/supply chain will inevitably be more of a mess with the library, admittedly.
Now, projects like Next https://nextjs.org/ exist and add what some might regard as the missing pieces and work well if you want something opinionated and with lots of features out of the box, but a lot of those features (like SSR) are actually pretty advanced and not always even necessary.
-
Pains and solutions in localization for the web
In a recent project I've been using react-i18next so I'll use its syntax for the examples, but pretty much every library works similarly.
-
45 NPM Packages to Solve 16 React Problems
react-i18next
-
React Ecosystem in 2024
i18next - You can find documentation and resources for using i18next at react.i18next.com. i18next is a popular internationalization framework for JavaScript, including React. It provides a comprehensive solution for handling translations, formatting, and more.
-
Enforcing Localization through Types
So far, we’ve been using a utility createLocalizedString to create and use the LocalizedString type. This utility is only really practical in unit tests. For real applications, we’ll want to use a translation function from react-i18next or next-i18next to do the heavy lifting. Then we just wrap the translation functions that are provided in order to use our type:
-
5 Not-So-Typical React Libraries for an Outstanding Project
Website: https://react.i18next.com/
-
Is it a good practice to centralized messages file
If you are talking about handling translations for your application, take a look at https://react.i18next.com/
-
Looking for a few iOS devs that are interested in getting their apps localized.
I will be supporting Korean as a part of the beta. I have to look deeper into https://react.i18next.com/ in order to understand what it provides. My goal is for engineers to be able to click a single button and have localizations always up to date in their codebase, not delaying shipping a new version or having to even think about it.
-
Supercharge Your TypeScript App: Mastering i18next for Type-Safe Translations
With the new react-i18next version, when loading multiple namespaces, t function will infer and accept the keys for the first namespace. So this pattern is now accepted:
-
React Ecosystem in 2023.
react-i18next
What are some alternatives?
particles.js - A lightweight JavaScript library for creating particles
React Intl - The monorepo home to all of the FormatJS related libraries, most notably react-intl.
particles-bg - React particles animation background component
next-i18next - The easiest way to translate your NextJs apps.
GreenSock-JS - GSAP (GreenSock Animation Platform), a JavaScript animation library for the modern web
jsLingui - 🌍 📖 A readable, automated, and optimized (3 kb) internationalization for JavaScript
the-matrix-effect - The incredible effect of rain of letters in the style of the Matrix trilogy.
i18next - i18next: learn once - translate everywhere
anime.js - JavaScript animation engine
nextjs-monorepo-example - Collection of monorepo tips & tricks
Scrawl-canvas - Responsive, interactive and more accessible HTML5 canvas elements. Scrawl-canvas is a JavaScript library designed to make using the HTML5 canvas element easier, and more fun
transloco - 🚀 😍 The internationalization (i18n) library for Angular