Enhance LocalDev to Support Aura-Enabled Component Calls in LWC Development
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
Research direction
No files, tests, or entry points are identified in the issue. Start by locating the LocalDev implementation and its existing LWC integration boundaries, then determine how Aura-enabled component calls and remote Apex calls are expected to work; done means both call types function from a LocalDev instance with appropriate validation.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
I'm frustrated that the Local Development (LocalDev) feature for Lightning Web Components (LWC) in Salesforce doesn’t fully support calling Aura-enabled components or making remote Apex calls. This significantly limits the usefulness of LocalDev for larger projects that have data dependencies and need to interact with remote data and server-side logic to accurately simulate and test their functionality.
Describe the solution you'd like
I’d like LocalDev to support:
- Calling Aura-enabled components from LWCs, which is often needed for inter-component communication in complex applications.
- Allowing remote Apex calls to be executed from a LocalDev instance, which would let developers work with real data and server-side logic during local development, creating a more accurate development experience and eliminating the need to deploy or run tests in an org just to interact with these elements.
This would greatly enhance LocalDev’s usability for projects with complex data and component dependencies, making it an essential tool for all development phases.
Describe alternatives you've considered
Alternatives considered include:
- Running all development and testing in a sandbox environment, which is less efficient as it requires deployment for each iteration.
- Simulating data with static JSON files or mocks, which doesn’t accurately reflect real-world interactions and limits testing scope and accuracy.
Additional context
Adding support for Aura-enabled component calls and remote Apex calls in LocalDev would make the local development experience more robust, especially for developers working on projects with complex interactions and data dependencies. This enhancement would streamline development processes and improve the overall experience for those working on larger, data-intensive projects.
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 19
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 2
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.
More from salesforcecli/plugin-lightning-dev
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
salesforcecli/plugin-lightning-dev#686 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
salesforcecli/plugin-lightning-dev#627 · 2 comments · 1 reaction ·
-
BUG P2
Difficulty 3/5 1-2 days Newbie friendliness 45/100
salesforcecli/plugin-lightning-dev#544 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
salesforcecli/plugin-lightning-dev#456 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in salesforcecli/plugin-lightning-dev
Similar issues
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
anomalyco/models.dev#7701 ·