"core" vs "full"?
See original GitHub issueGreat work on the active development of tsParticles!
Is there any option to import a reduced/smaller, more “core” tsParticles library? Core in the sense of the fundamental behavior and options.
Something like
import { tsParticlesCore } from "tsparticles";
that would provide only the most slimmed down possible functionality, and then could allow importing additional aspects if needed (manually)?
Theoretical example of more extensive features…
import { tsParticlesCore, tsParticlesShapes, tsParticlesPlugins, } from "tsparticles";
Or support for the entire library if wanted, using the known regular import:
import { tsParticles } from "tsparticles";
Thanks in advance for thoughts.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:5 (2 by maintainers)
Top Results From Across the Web
User type: basic, core, and full platform users
Core user (limited availability): has more capabilities than a basic user. Full platform user: all capabilities. To skip to learning more about capabilities, ......
Read more >What is the difference between the core, full, extras and light ...
It is effectively identical to the nginx-full flavor, but does not contain any third party modules.
Read more >Server Core Install vs. Full Install – Let's Get Ready to Rumble!
Every single update has to be installed on Full Installation whereas Server Core only needs the updates to the binaries and services that...
Read more >What is the Server Core installation option in Windows Server?
The Server Core option is a minimal installation option that is available when you are deploying the Standard or Datacenter edition of Windows ......
Read more >Base vs Full 14" M1 Pro MacBook Pro - Worth $300 MORE?
With Apple's NEW 14" MacBook Pro, is it ACTUALLY worth upgrading the 8- core CPU to the 10- core ? And what about...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @ccssmnn, actually is not available but I’m working on the 2.x release that will be more customizable.
Hi @mmilano,
Actually, there are two builds:
tsparticles.slim
andtsparticles
.The
slim
version doesn’t have plugins preinstalled (Absorbers, PolygonMask, Emitters), the other build has all features.If you want a more
slimmer
version you can check out theLoader
class, it’s the class that creates all the container and thetsParticles
object is just a wrapper to it loading shapes and plugins.That class should be the lightest way to load tsParticles but I’m trying to bring more composability to the project so everyone can load only what is really necessary.