2 days ago · Tech · 0 comments

Here’s an excellent progressive web component from Aaron—wrap a custom element around your exising form and your good to go: At its core, form-saver is a small web component that wraps a form, keeps an eye on it, stores values in localStorage, and restores them when the page loads again. Better yet, it clears out saved data after a successful submission so you’re not accidentally resurrecting stale information the next time someone stops by. adactio.com/links/22535

No comments yet. Log in to reply on the Fediverse. Comments will appear here.