Skip to content
#

loading-bar

Here are 50 public repositories matching this topic...

hepiyellow
hepiyellow commented May 29, 2018

Naively I set <Portal node={document.body} >... and it breaks with react 15 (works with 16).
When I say break, I mean that the portal content is replacing the body instead of appending to it.

Until I figured out that I can simply omit the node prop, and use react-portal's default behaviour.

I just thought this is something that might either require special code handling,
or at least a

jcarpanelli
jcarpanelli commented Jun 4, 2019

Instead of setting a spinner as succeed/fail using the spinners#fail and spinner#succeed methods, it would be great if spinnies could do this automatically when sending a promise as an option:

spinnies.add('spinner-1', { 
  text: 'Doing X..',
  onPromise: {
    promise: someFunction(arg1, arg2), 
    succeed: { 
      text: 'X succeeded',
      color: 'greenBright'
    },
 

Improve this page

Add a description, image, and links to the loading-bar topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the loading-bar topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.