SalesforceWay
29. Salesforce Lightning Locker Service
Matt Goldspink is a UI Architect in Vlocity, Dreamforce speaker.
Matt is with strong experience in server-side Java, frontend development in HTML, CSS and JavaScript (Web Components, Angular, React, Sencha ExtJs) and mobile application development on iOS and Android (Native and hybrid).
Main Points
Matt’s blog thread on the Salesforce developer site and his locker service experienceWhy does Salesforce create the locker service and what problem does it tackle?What are the challenges for Salesforce to create the locker service?What is the locker service implementation from a user or developer’s point of view?Explanation of Third-party JavaScript library isolation in the locker serviceHow can we know if a third-party JavaScript library is well supported in the locker service?What are the good resources to learn LWC?
Links
Locker API viewer Locker console Moment.js Polymer Matt’s DF18 talk about locker service The post about locker service on Salesforce developer blog Lwc ebikes sample gallery
Video Teaser
The YouTube Video URL
Key Takeaway for Locker Service
Many Salesforce developers complain about Locker Service:
It puts a restriction on browser native API callsIt has a negative performance impact It prevents some popular 3ard party JavaScript libraries from working
They ignore the reason Locker service is introduced and the great benefit it brings to the Lightning platform.
In this episode, Matt gives a holistic view of Locker Service. Hopefully, you can understand better about and really embrace it :).
Related Episodes
Episode 22 – Lightning Web Component
Contact Me
If you enjoy this podcast, please reach me out to let me know your thoughts or simply say Hello. My (Xi’s) contact info:
LinkedIn, Twitter, Instagram Emai: xixiaofinland(at)gmail.com
Take care, until next time :)!
The post 29. Salesforce Lightning Locker Service appeared first on SalesforceWay.