1.0.1 • Published 1 year ago

@blhylton/flash-messages v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Flash Messages

A simple library for managing flash messages in your Javascript application.

Background

This library is based on the concept of a flash message from the server-side world, repurposed for use exclusively in front end applications.

...meant to be used exactly once: flash messages vanish from the session automatically as soon as you retrieve them. This feature makes "flash" messages particularly great for storing user notifications.

-- Symfony Documentation(https://symfony.com/doc/current/controller.html#flash-messages)

Obviously, there's no session on the frontend in this context, but the idea remains the same: Create a message with short-lived permanence.

Get Started

TODO

Usage

TODO

1.0.1

1 year ago

1.0.0

1 year ago