Lead Locator Lightning Web Components (LWC) App Final Code
This guide is the end result of the code generated for the Pluralsight course, "Building Your First Lightning Web Component for Salesforce". This is a beginners course and the primary audience are developers interested in learning how they can develop Lightning Web Components (LWC's) on the Salesforce Platform.
Because they may not be experienced with Salesforce development, the course will briefly cover getting setup in Salesforce and also will refer them to any additional support material that may be helpful to them.
Reference Material Instead of the Course
Anyone that is interested in finding out more about this code, should visit my blog at saramorgan.net. There you will find a series of posts that briefly cover what is included in each module of the course. The only way to see all the tips and tricks I provide are to view the actual course on Pluralsight. But below is a link to each post and a brief summary of what it covers.
Introducing Lightning Web Components
Refer to the following blog post #1. In this post/Pluralsight module), you will learn: You will learn:
- About LWC benefits
- What are web components
- Why it is OK to Start Diving into LWC today
- How to create a basic LWC named myFirstLWC in the PLayground
Setting Up Your Development Enviorment (in 5 somewhat easy steps)
Refer to the following blog post #2. In this post/Pluralsight module), you will learn:
- How to get setup with Salesforce and an IDE
- What is Salesforce DX and how to get setup with it
- Understanding the LWC structure
Understanding Composition and Intercompoment Communication
Refer to the following blog post #3. In this post/Pluralsight module), you will learn:
- What nested LWC apps are
- How to create Lightning Page App declaratively to host a nested LWC
- How to communicate between owner and sibling components
- Understand about the Event Communication flow
Working with Salesforce Data and Debugging
Refer to the following blog post #4. In this post/Pluralsight module), you will learn:
- About the Lightning Data Service Wire Adapter and caching
- Using the Command Line Interface (CLI) to load data
- How to add a component that works with geplocation maps
- How to use Google Chrome developer tools to debug your components
Converting Aura Components
Refer to the following blog post #5. In this post/Pluralsight module), you will learn:
- How to convert Aura components to LWC's using Migration Strategies
- All about my past mistakes when trying to convert an Aura component
- How my original converted app compare to the one you build in this course performance wise.
Testing LWC's and Wrapping Up
Refer to the following blog post #6 In this post/Pluralsight module), you will learn:
- All about what Jest tests are and why you should create them
- How to install Jest on your computer using a special SFDX library
- How to write Jest tests using Salesforce recommended best practices.