Notifications
Ryan Seddon
Building notification service
- Adapted from angular-app
- 3 parts
- notifications
- getMessage
- Messages map
Notifications.js
- Demo time
- pushForCurrentRoute
- pushForNextRoute
- pushSticky
getMessages.js
- Handles look up
- Interpolating passed in props
NOTIFCATION_MESSAGES.js
- Object map of all notification messages
- Handles HTML inside messages
- Manage all of them in one spot
Notifications
By Ryan Seddon