pmuens / discuss

100% serverless forum software (Technologies used: Serverless, DynamoDB, ES2015, React, Redux, Node.js, GraphQL)
118 stars 21 forks source link

Add loading animation #10

Open pmuens opened 8 years ago

pmuens commented 8 years ago

Add loading animation when data gets loaded from the backend.

xndrdev commented 8 years ago

What about https://github.com/quickleft/react-loader ? Pure js, no external images, no external css. @pmuens

pmuens commented 8 years ago

Looks good. But maybe we can find a packages which plays nicely with Redux and React (otherwise we have to dispatch loading actions which might be a little bit tedious).

xndrdev commented 8 years ago

What if we just show an CSS animated Spinner instead of the message here: https://github.com/JustServerless/discuss/blob/master/client/src/app/js/components/posts/index.jsx#L94 ?

pmuens commented 8 years ago

Good idea!