Skip to content

Commit

Permalink
Fixes typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlplusb committed Mar 29, 2017
1 parent e792628 commit bc1ab6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ const sizeMeConfig = {
// any unnecessary deep tree renders. If you feel this is not an issue
// for your component case and you would like to get an eager render of
// your component then disable the placeholder using this config option.
// NOTE: You can set this globally. See the docs on first render.
noPlaceholder: false
}
```
Expand Down Expand Up @@ -307,7 +308,7 @@ To avoid the rendering of placeholders in this context you can make use of the `
import sizeMe from 'react-sizeme';

// This is a global variable. i.e. will be the default for all instances.
sizeMe.noPlaceholers = true;
sizeMe.noPlaceholders = true;
```

> Note: if you only partialy server render your application you may want to use the component level configuration that allows disabling placeholders per component (e.g. `sizeMe({ noPlaceholder: true })`)
Expand Down

0 comments on commit bc1ab6b

Please sign in to comment.