SAM TodoMVC lit-html Implementation
SAM is a new software engineering pattern that simplifies the Front-End development by cleanly separating the business logic from the view and strictly decoupling back-end APIs from the Front-End. - The SAM Pattern
This code sample uses the
- Clone this repo and install the dependencies with npm by running:
- Open the the index.html file
The sam directory contains all the application's code. The application logic is in the
todoComponent.js file. The
theme.js implements the view in a functional html style using lit-html.
The SAM sample code is "unlicensed"
Work by TasteJS is licensed under a Creative Commons Attribution 4.0 International License.