fakiolinho/react-loading

Things I would like to have

kof opened this issue · 3 comments

kof commented
  • es6 support
  • only loading svg I really use
  • implementation of delay - only render indicator if component is still mounted after Xms, where recommended value is 1000.
kof commented

Would you accept a PR or willing implement them?

So I added the delay, I'm not sure what you mean by es6 support but it's using es6 classes to create the component and I fixed the broken dist file.

I'm not sure how I'd go about implementing selective svg loading, but I'd be happy to accept a PR.

for es6 you can just use: import Loading from 'react-loading'