How pinakimondal07/lwc-fundaments works
This repository is a collection of Salesforce Lightning Web Component (LWC) and Aura learning examples, rather than one integrated application. The principal user-facing pattern is interacting with an example component—such as a quiz or memory game—which updates component state and renders a result. Other distinct branches demonstrate Salesforce data access and record changes, navigation, component composition and styling, and cross-component messaging. Groups reflect those capabilities; the excerpts show selected calls into Salesforce APIs, but do not establish wiring between most separate examples.
Main entry points: memoryGameLwc.js Memory game · updateRecordFunction.js Record create, update, delete · quizApp.js Quiz app · getRecordAdapter.js Record wire adapter
Components 22
Component UI
- UI and interaction demos
force-app/main/default/lwc - Quiz app
force-app/main/default/lwc/quizApp/quizApp.js - Memory game
force-app/main/default/lwc/memoryGameLwc/memoryGameLwc.js - Component composition
force-app/main/default/lwc - Styling and rendering
force-app/main/default/lwc
Salesforce Data
- Apex invocation examples
force-app/main/default/lwc - Record wire adapter
force-app/main/default/lwc/getRecordAdapter/getRecordAdapter.js - Current-user wire data
force-app/main/default/lwc/wireServiceandFetchUserDetails/wireServiceandFetchUserDetails.js - List and record adapters
force-app/main/default/lwc - Record forms
force-app/main/default/lwc - Record create, update, delete
force-app/main/default/lwc/updateRecordFunction/updateRecordFunction.js - Lightning platform APIs
Navigation
- Navigation examples
force-app/main/default/lwc - LWC-to-Aura navigation
force-app/main/default/aura/lwcToAuraNavigation/lwcToAuraNavigationController.js
Messaging and Integration
- Aura–LWC communication
force-app/main/default/aura/AuraLwcCommunication/AuraLwcCommunicationController.js - Aura LMS example
force-app/main/default/aura/lmsAuraComponent/lmsAuraComponentController.js - LWC LMS examples
force-app/main/default/lwc/lmsComponentX/lmsComponentX.js - Pub-sub examples
force-app/main/default/lwc/pubsub/pubsub.js
Resources
- Chart.js library
force-app/main/default/staticresources/chartJs.js - Third-party resource example
force-app/main/default/lwc/thirdPartyFiles/thirdPartyFiles.js - Static resource loader
Other components
- Salesforce user
Connections 9
- Salesforce user → Quiz app: answers questions
force-app/main/default/lwc/quizApp/quizApp.js - Quiz app → Salesforce user: shows score
force-app/main/default/lwc/quizApp/quizApp.js - Salesforce user → Memory game: plays game
force-app/main/default/lwc/memoryGameLwc/memoryGameLwc.js - Memory game → Salesforce user: shows completion
force-app/main/default/lwc/memoryGameLwc/memoryGameLwc.js - Record wire adapter → Lightning platform APIs: wires getRecord
force-app/main/default/lwc/getRecordAdapter/getRecordAdapter.js - Current-user wire data → Lightning platform APIs: wires getRecord
force-app/main/default/lwc/wireServiceandFetchUserDetails/wireServiceandFetchUserDetails.js - Record create, update, delete → Lightning platform APIs: updates records
force-app/main/default/lwc/updateRecordFunction/updateRecordFunction.js - Record create, update, delete → Lightning platform APIs: reads list view
force-app/main/default/lwc/updateRecordFunction/updateRecordFunction.js - Memory game → Static resource loader: loads stylesheet
force-app/main/default/lwc/memoryGameLwc/memoryGameLwc.js