Define Stateful Components in Preact

InstructorShane Osbourne

Share this video with your friends

Send Tweet

When dealing with Components, there’s often the need to either have some local state controlled by the component (such as form input fields) or to tap into the lifecycle events of the component. In this lesson we’ll give some practical examples of both.