How trailheadapps/lwc-recipes-oss works
LWC Recipes OSS is a browser-based collection of small Lightning Web Components examples, not a single business-processing application. Users browse recipe categories and inspect examples spanning component basics, composition and events, data access, DOM behavior, and third-party integrations. The app maintains the selected category and browser history; its navigation configuration is the only directly evidenced internal connection here. The README documents the breadth of recipes, but most recipe implementations and app templates were not sampled, so those branches are represented without inferred call chains.
Main entry points: app.js Recipe App · compositionContactSearch.js Contact Search · navigation.js Navigation Config · simpleProvider.js Contact Data
Components 21
Recipe Browser
- Recipe App
src/modules/ui/app/app.js - Navigation Config
src/modules/ui/app/navigation.js - Navigation Bar
src/modules/ui/navbar/navbar.js
Component Fundamentals
- Hello and Rendering
src/modules/recipe/helloExpressions/helloExpressions.js - Component APIs
src/modules/recipe/apiSetterGetter/apiSetterGetter.js - Events and Bubbling
src/modules/recipe/eventWithData/eventWithData.js - DOM and Light DOM
src/modules/recipe/lightDomQuery/lightDomQuery.js - Template Switching
src/modules/recipe/miscMultipleTemplates/miscMultipleTemplates.js - Todo Example
src/modules/recipe/todoList/todoList.js - Mortgage Calculator
src/modules/recipe/mortgage/mortgage.js
Composition and Data
- Component Composition
src/modules/recipe/compositionIteration/compositionIteration.js - Contact Search
src/modules/recipe/compositionContactSearch/compositionContactSearch.js - Contact Data
src/modules/data/simpleProvider/simpleProvider.js - Contact Provider
src/modules/data/wireGetContactListProvider/wireGetContactListProvider.js - Contact Records
src/modules/data/contacts/contacts.js - REST API Example
src/modules/recipe/miscRestApiCall/miscRestApiCall.js - Error Display
src/modules/recipe/errorPanel/errorPanel.js
Platform and Integrations
- Chart.js Example
src/modules/recipe/libsChartjs/libsChartjs.js - D3 Example
src/modules/recipe/libsD3/libsD3.js - External Web Components
src/modules/recipe/externalComponentCdn/externalComponentCdn.js
Other components
- Recipe Browser User
Connections 3
- Recipe Browser User → Recipe App: browses
- Recipe App → Navigation Config: imports config
src/modules/ui/app/app.js - Contact Search → Contact Data: calls search
src/modules/recipe/compositionContactSearch/compositionContactSearch.js