Skip to content

Cloud-Code-Academy/module12-lightning-web-component-mkowldata-1

 
 

Repository files navigation

Developer Kickstart: Introduction to Lightning Web Components (LWC)

This repository is a foundational pillar of the Developer Kickstart curriculum at Cloud Code Academy. Crafted specifically for budding Salesforce developers, this module introduces the groundbreaking world of Lightning Web Components. LWC opens a new dimension in Salesforce front-end development, emphasizing modern JavaScript techniques, Salesforce data integration, and interactive user interfaces.

Goals of the Practice

Throughout this repository, you'll cultivate a deeper understanding of:

  • The pivotal transition from Aura Components to Lightning Web Components, and why LWC is the modern approach to Salesforce UI development.
  • Crafting sleek, responsive, and data-driven components using the LWC framework and modern JavaScript standards.
  • The significance of component composition, enabling the reuse of smaller components to build larger, more complex user interfaces.

By mastering the basics of Lightning Web Components, you'll lay the foundation for creating intuitive, dynamic, and responsive Salesforce user interfaces. This knowledge solidifies your path in evolving as a full-stack Salesforce developer, ready to craft end-to-end solutions that captivate users and drive business results.

Setup

Setup Overview

Setup Checklist

  1. Create/Configure a trailhead playground or developer org to do your work throughout this program.
  2. Install Visual Studio Code from here.
  3. Install Salesforce Extension Pack in Visual Studio Code. This can be done by searching 'Salesforce Extension Pack' in the Extensions view in VS Code and clicking Install.
  4. Authorize your org in Visual Studio Code. Press Ctrl/Cmd + Shift + P to open the command palette and type 'SFDX: Authorize an Org', then press Enter. Follow the steps in the browser to log in to your org, then return to VS Code.
  5. Save and deploy your changes into Salesforce from your local machine. This can be done through the command pallet or right-clicking the file you want to deploy and using the option SFDX: Deploy this source to org

Getting Started

  1. Navigate to the folder force-app/main/default/ and deploy the metadata to your Salesforce org. Right-click on the folder and select SFDX: Deploy Source to Org.
  2. Review the files provided including the test class to understand the challenges.
  3. Update the code and deploy it to your Salesforce org.
  4. Run the test class to validate your code. Use Ctrl/Cmd + Shift + P to open the command palette and type 'SFDX: Run Apex Tests', then press Enter. You can also use Run All Test or Run Test on the test class.
  5. Push your changes to your GitHub repository and submit the link to the assignment in the submission form in Slack.

Resources

If you get stuck at any point, here are some resources that might help:

And remember, programming is often about solving problems, so don't be afraid to use search engines to find answers to your questions.

Good luck with your learning journey in Salesforce development!

About

developer-kickstart-cohort10-module12-lightning-web-component-developer-kickstart-lwc created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Apex 72.3%
  • JavaScript 27.7%