Local Storage Plugin (with Persist Extended)

Local storage data with Alpine JS official $persist plugin with the $storage plugin which extends the functionality of the official plugin.

This uses the official Alpine JS $persist plugin which has been extended through the community Alpine JS $storage plugin.

You can refresh the browser and Alpine JS will auto populate the x-data value from the local storage data.