investigate ways to load additional data on demand
See original GitHub issueComing from #3524.
xterm.js currently has no way to load additional data on demand in the core. We are at “either it is there prebundled - or forget it”.
We should investigate, how we can externalize rarely used (blob) data into additional resources, that can be requested on demand. Ideally things cover these aspects:
- easy to use in code
- either works transparently with TS’ import statement, or does not interfere negatively
- keep working for CJS/ESM
- keeps working in nodejs and browser context
- support proper electron bundling
- keep working with common web bundlers (webpack, Rollup, parcel …)
Sidenote: JSON imports are working for most above, but not all - like ESM currently cannot handle it. A workaround to that might be to use the ESM import()
function at code level with real JS modules (JSON data written to proper code units). Needs investigation…
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Data Collection Methods - Jotform
Observation involves collecting information without asking questions. This method is more subjective, as it requires the researcher, or observer ...
Read more >Inventory Forecasting: Types, Best Practices, and Benefits
Forecasting for seasonal products: Historic demand data and sales figures help account for seasonality. Consider other factors, such as ...
Read more >Digitalisation, energy and data demand: The impact of Internet ...
Conceptualised in this way, there are several ways to investigate the processes that underpin growing data demand, and hence infrastructural energy demand.
Read more >Demand Forecasting - ShipBob
Learn how to forecast demand and predict future sales so you can make good decisions about production, marketing spend, staffing, and more.
Read more >Investigating the on-demand service characteristics
The purpose of this paper is to study the characteristics of a range of on-demand services in order to better understand the meaning...
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 FreeTop 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
Top GitHub Comments
IMO
dynimport
looks good, but users should be able to override the implementation.Points to consider:
dynimport()
Out of scope, thus closing.