Rails has a nice and useful mechanism to communicate to user via flash messages. By default these messages come from backend and are injected into the page while rendering the view. But what if we want to show a client side message ? Or, for example, we did an unsuccessful Ajax request and want to warn user using a message in response. If you already use React in your project then you will find it