In this webinar, we will preview this exciting new tool and showcase how it makes building components locally not only possible, but an excellent experience for rapid iteration and release.
Preview: Local Development for Lightning Web Components
1. Local Development for Lightning Web Components
nkruk@salesforce.com, @nicolaskruk
Nicolas Kruk, Lead Software Engineer
kgray@salesforce.com, @GrayJustise
Kris Gray, Principal Software Engineer
ntotten@salesforce.com @ntotten
Nathan Totten, Sr. Director of Product Management
2. Have Questions?
● Don’t wait until the end to ask your question!
● Technical support will answer questions starting now.
● Respect Q&A etiquette
● Please don’t repeat questions. The support team is working their way down
the queue.
● Stick around for live Q&A at the end
● Speakers will tackle more questions at the end, time-allowing
● Head to the Trailblazer Community
● More questions? Visit http://trailblazer.salesforce.com/answers
3. Go Social
Salesforce Developers
Salesforce Developers
Salesforce Developers
The video will be posted to YouTube & the
webinar recap page (same URL as registration).
This webinar is being recorded!
@salesforcedevs
4. Forward-Looking Statement
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the
assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements
we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability,
subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations,
statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service,
new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or
delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and
acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and
manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization
and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our
annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and
others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be
delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements. This presentation is going to be awesome.
Statement under the Private Securities Litigation Reform Act of 1995
5. Nicolas Kruk
Principal Developer
Kris Gray
Lead Developer
Presenters
Team
Min Idzelis
Lead Developer
Nathan
McWilliams
Principal Developer
Luke
Inman-Semerau
Principal Developer
Meet the Lightning Tooling Team
Blythe Sheldon
Documentation
Product Manager
Nathan Totten
6. ● Review the Developer Tools
● What is LWC Local Development
● Local Development Roadmap
● Demo
● QA & Feedback
Agenda
7. What are the Salesforce Extension for VS Code?
Modern Developer Tooling
Built on top of Visual Studio Code to provide developers with a fast,
powerful, and flexible developer environment. Supports
best-practices such as source control and works with any type of
Salesforce Org and development model.
Rich Productivity Features
Includes productivity tools for all Salesforce languages and
Frameworks. Includes powerful debuggers, refactoring support,
code completion, and testing tools.
Standard Protocols
Built using the industry standard protocols for Languages and
Debugging allows feature reuse in other IDEs or developer tools
both internally and with third-parties
Modern developer tools that promote best practices
8. ● Control the full application lifecycle of
your Salesforce orgs
● Easily create environments for
development and testing
● Synchronize source code between
your orgs and version control
systems
● Manage data
● Deploy to Production!
What is the Salesforce CLI?
A powerful and scriptable interface to manage your Salesforce Apps
9. LWC in Visual Studio Code
Code Completion
Full code completion of HTML, Javascript, and CSS files in your
Lightning web components. Inline documentation for everything
from components and attributes to javascript objects and
properties.
Linting + Formatting
Rich code linting and error detection using ES Lint. Simple, yet
powerful code formatting using Prettier.
Productivity Features
Built on the powerful HTML and Javascript features of VS Code.
Provides code outlining, go-to-definition, refactoring, and
click-to-navigate between HTML and Javascript files.
Most Powerful and Productive LWC Developer Experience
11. LWC Local Development
● Live rendering of components on your local
machine (without pushing to your org!)
● Express Server + LWC Compiler
● Only works with LWC
● Look for a beta this summer!
13. Local Rendering of Components
● Single Component
● Nested Components
● Interactions between components
○ Events
○ Pubsub
● Live Reload
14. Org Data & Services
● Connect to real data in any org
● Lighting Data Service
● UI API
● Apex - Rest Controllers
15. Error Handling
● Error message
● Code line highlighted
● Stack trace
● Link to open in VS Code
16. Local/Mocked Data (Post-Beta)
● Faster Development
● Repeatable Testing
● Data Types
○ Local Data - Same
format as seed data
○ Mock Data - record
requests to org and
replay later
● Offline
20. Summary
● Edit/View Components Locally
● Live Reload
● Data proxy to your org
● Beautiful Errors
Available soon!
Local Development
Roadmap
● Flexipage Rendering
● Mock Data / Live Data Recording
● Production-Like Environment