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.

[Feature] Why is the `use()` extension mechanism not mentioned in the official documentation?

See original GitHub issue

What problem does this feature solve?

An official plugin/extension mechanism with safer and more flexible extension capabilities.

What does the proposed API look like?

When viewing the source code, the use() API provides a good extension mechanism and is fully used in the source code.

Why is it not mentioned in the official documentation? Or is it that I didn’t find it? I have only got very limited information from the documentation for the import on demand section.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
plainheartcommented, Jul 5, 2022

The APIs mounted in the global echarts usually are safe to be used by the developers. Please rest assured to use the use API.

0reactions
wang1212commented, Jul 5, 2022

The APIs mounted in the global echarts usually are safe to be used by the developers. Please rest assured to use the use API.

Ok, I see. Thank you very much for your prompt reply.


To say some digressions, after a preliminary understanding, it is a good mechanism to use the use() API to extend ECharts, but the relevant information on the Internet is very limited (or even no), I hope this mechanism can be known by more people , in order to facilitate users to realize personalized functions in specific scenarios.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trail: The Extension Mechanism (The Java™ Tutorials)
The extension mechanism enables the runtime environment to find and load extension classes without the extension classes having to be named on the...
Read more >
Writing R Extensions - The Comprehensive R Archive Network
Packages provide a mechanism for loading optional code, data and documentation as needed. The R distribution itself includes about 30 packages. In the...
Read more >
Extensions | Kotlin
This mechanism is called an extension function. There are also extension properties that let you define new properties for existing classes.
Read more >
Introduction to the Dependency Mechanism - Apache Maven
Dependency management is a core feature of Maven. Managing dependencies for a ... If no scope is listed, it means the dependency is...
Read more >
Run-Time Loadable Extensions - SQLite
Extensions can also be statically linked with the application. The code template shown below will work just as well as a statically linked ......
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