question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"core" vs "full"?

See original GitHub issue

Great 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:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
matteobrunicommented, Dec 13, 2020

Hi @ccssmnn, actually is not available but I’m working on the 2.x release that will be more customizable.

2reactions
matteobrunicommented, Oct 14, 2020

Hi @mmilano,

Actually, there are two builds: tsparticles.slim and tsparticles.

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 the Loader class, it’s the class that creates all the container and the tsParticles 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found