Sortable Lifecycle Events
Many web interaction components tend to contain data that is often important to developers who are implementing that component. As an example, a sortable is often used as form input. Providing capabilities to persist data from the custom interactions we create is an important consideration when building any component. In this lesson, we’ll make use of a component lifecycle event to build an array of sorted items each time the sortable list is updated, and place this data into the JSON textarea within the app.