Expose utility functions for clientside callbacks to use
Open
Nobody has claimed this yet.
dash-renderer
feature
P3
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
When writing client-side callbacks (or any client side javascript), it would be nice to have access to utility functions from the dash renderer.
Things like:
- retrieving components by their ID, type, and/or property
- constructing/deconstructing the string version of pattern-matching IDs
- testing whether a pattern-matching ID matches a given pattern
would be less prone to bugs if devs can directly use the same code that Dash itself uses.
These could be exposed as helper functions on the window, or as a React context.
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 by locating the dash renderer utility implementations and the client-side callback entry points. Determine which component lookup and pattern-matching helpers could be exposed, then define and validate an API for accessing them from client-side JavaScript.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100