CommunityOfCoders / COCWebsite

The official website of Community Of Coders, VJTI.

Home Page:https://www.communityofcoders.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use flash messages to show errors.

AliabbasMerchant opened this issue · comments

We can use the connect-flash library

Is this issue still relevant given that the client has been changed to Reactjs ? Was there a specific need for the flash messages ? If not, I guess we could close this one.

Flash Messages were just to show the user about the result of his requests, and errors, if any. Seeing that we are using axios to make requests to the server, we don't exactly need Flash Messages. We can immediately alert the user using toasts or something, about the result of his operations/requests

Sure enough, thanks for the inputs.

Closing this as not required anymore.