Lightning Web Components (LWCs) have been around on the platform for five years, but I still see rudimentary questions about testing LWCs constantly. This article will attempt to start slow before deep-diving on interesting topics for those looking to level up their frontend unit testing chops| www.jamessimone.net
Continuing on the LWC train from our talk on [pagination](/blog/joys-of-apex/lwc-composable-pagination) comes this post on creating a reusable modal, or pop-up, as a Lightning Web Component. Modals, by themselves, have complicated requirements for both accessibility and UX; they must block-off the rest of the screen, for example. It's good practice for a modal to control the page's focus until it is closed. How can we build a composable modal, or one whose implementation is not tied to the ex...| www.jamessimone.net