[Doc] How to import DeckGL from core?
Open
Nobody has claimed this yet.
doc
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
Link
https://deck.gl/docs/get-started/using-standalone
Description
It is unclear how to get access to the DeckGL function from core. I have tried multiple approaches:
import deck from '@deck.gl/core';
new deck.DeckGL(...); // fails because core does not have a default export
I don't want to use react, just the deck.DeckGL constructor to leverage mapbox integration.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked standalone usage page and the @deck.gl/core import shown in the issue. Verify the documented way to access DeckGL without React, then update the page with a working constructor example and confirm the example matches the package's exports.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100