Skip to content

Code organization & reuse-- Overview-- Write Section #83

Closed
@nicolejadeyee

Description

@nicolejadeyee

TL;DR: There are several strategies you can use to factor Lit code into reusable modules.

  • Directives are special functions that customize how an expression is processed and rendered.
  • Class mixins are factory functions that add a specific set up functionality to a base class.
  • Lit Reactive controllers are objects that can hook into a host component's update lifecycle.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions