SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Lit / Web Components

» Start this Course
(Practice similar questions for free)
Question:

Describe a Reactive Controller.

Author: John Pencola



Answer:

A Reactive Controller is an object that can hook into the update lifecycle of a Lit component, encapsulating state and behavior related to a feature into a separate unit of code. You should think of a Reactive Controller as a "has-a" relationship to the component which uses it.


0 / 5  (0 ratings)

1 answer(s) in total