Another fun use case for x-effect in @Alpine_JS v3 when using the persist plugin: parsing localStorage values (string only) so you can keep using boolean values in directives. This simplified example is for a toolbar that's either always visible or only when you hover it.
— Rob de Kort (@studio1902) July 7, 2021
This newsletter supported by my GitHub Sponsors.
If you've got something to share with the Alpine.js community, you can submit your link or reach out to me on twitter @hugo__df.
Here are this week's Alpine.js adopters:
Demos:
x-barf
directive for Alpine v3 by @markjaquithPassword Input Toggle in Alpine.js by @newaperio
How to Watch Alpine Stores for Changes by @ryangjchandler
[Video] Getting Started with Alpine.js by @chris__sev
For more posts like these, you can join the Alpine.js Development Subscription, it's a great way to support the newsletter and get early access to Alpine.js content.
github.com/lefrancois/alpine-lorem is a Lorem Ipsum generator directive by @lefrancois