Muutke küpsiste eelistusi

Salesforce Lightning Web Component Cookbook: More than 70 expert hands-on recipes to help you build dynamic and high-performance Salesforce apps [Pehme köide]

  • Formaat: Paperback / softback, 512 pages, kõrgus x laius: 235x191 mm
  • Ilmumisaeg: 31-Mar-2026
  • Kirjastus: Packt Publishing Limited
  • ISBN-10: 1835469868
  • ISBN-13: 9781835469866
  • Formaat: Paperback / softback, 512 pages, kõrgus x laius: 235x191 mm
  • Ilmumisaeg: 31-Mar-2026
  • Kirjastus: Packt Publishing Limited
  • ISBN-10: 1835469868
  • ISBN-13: 9781835469866
Explore real-world solutions for Salesforce Lightning Web Components with hands-on recipes covering Apex integration, security, performance optimization, testing, debugging, and migrating legacy components.

Key Features

Go beyond the basics to build high-performance Salesforce apps in just hours. Access solutions and strategic optimizations developed through extensive Salesforce expertise. Solve complex challenges and position yourself as a top-tier Salesforce developer. Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*

Book DescriptionSalesforce developers strive to build fast, scalable, and efficient appswhether to streamline business processes, enhance user experience, or modernize legacy systems. But mastering Lightning Web Components (LWCs) can be complex. Salesforce Lightning Web Development Cookbook simplifies this journey with 70-plus recipes that guide you through every stage of LWC development with step-by-step solutions to real-world challenges faced by Salesforce developers. Written by Evelyn Maguire, a 10x-Salesforce certified developer, this book covers key concepts such as component composition, data retrieval, event handling, and performance optimization. Youll explore advanced topics such as writing accessible components, migrating from Visualforce and Aura, and testing LWCs using Jest and Apex. By the end of the book, youll understand the necessary concepts to successfully build and scale LWCs for enterprise-grade applications. Whether youre developing new features, troubleshooting performance issues, or transitioning legacy code, this book will equip you with the expertise needed to streamline development and create high-performance applications. *Email sign-up and proof of purchase required What you will learn

Set up your development environment for Salesforce LWCs. Build dynamic and reusable LWC components with best practices. Integrate Apex methods and handle asynchronous data. Secure components using Lightning Web Security and Locker Service. Optimize performance with caching and lazy loading. Test and debug LWCs using Jest and Apex test classes. Migrate legacy Visualforce and Aura components to LWC. Work with external APIs and third-party integrations

Who this book is forThis cookbook is for intermediate to experienced Salesforce developers looking to master advanced Lightning Web Components (LWC) techniques. It provides practical solutions for optimizing performance, implementing complex UI patterns, and integrating LWC within the Salesforce ecosystem. Prior knowledge of Apex and JavaScript will be beneficial, but the step-by-step recipes ensure that even those new to LWC development can follow along and apply their learnings effectively.
Table of Contents

Getting Ready for Lightning Web Component Development
Writing Apex for Lightning Web Components
Working with a Selector Class
Synchronous and Asynchronous Processing in Components
Accessing External Data Sources via Lightning Web Components
Composing Lightning Web Components
Building Secure Components with Lightning Locker and Lightning Web Security
Implementing Reactivity in Lightning Web Components
Creating Custom Lightning Web Components
Designing Polymorphic Lightning Web Components
Writing Accessible Lightning Web Components
Migrating Aura to Lightning Web Components
Testing Apex with Mocking and Stubbing
Testing Lightning Web Components with Jest
Debugging Lightning Web Components
Evelyn Maguire is a 10x Salesforce certified developer and architect. They started working as a software developer in 2019 after a decade in various service industries, including hospitality and telecommunications. While attending school for network engineering, Evelyn pivoted into a career in Salesforce development and never looked back. In 2024, Evelyn attended Dreamforce to accept the inaugural Own Company Innovator of the Year award for their work on a data recovery simulator. In their free time, Evelyn coaches for RADWomen, an organization that upskills women from Salesforce administrators to developers. Their favorite subjects to teach are asynchronous Apex and the principles of object-oriented programming as pertaining to Apex.