In this lesson, we’ll focus on managing component state using EdgeJS and how we can pass state from EdgeJS into AlpineJS.
EdgeJS State
The easiest way that we can set state within an EdgeJS Component is via the set tag (@set
). The set tag is going to allow us to set a local variable that will only exist inside of this particular component.