Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
such tools usualy based --> such tools are usualy based
rdvornov has snoozed notifications. Send one anyway?
  • Loading branch information
oldtuna committed Jul 6, 2018
1 parent 34917c8 commit 298bc76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Patch for [prop-types](https://github.com/facebook/prop-types) to get property t

When using React components, `prop-types` is commonly used to define properties type checking. Unfortunally, `prop-type` doesn't provide definition details that can be useful for documentation generation or component's playground. This library adds ability to get property type definition in runtime by calling a `getTypeDefinition()` method.

As anternative, tools like [react-docgen](https://github.com/reactjs/react-docgen) can be used. However, such tools usualy based on static code analysis and have many [limitations](https://github.com/reactjs/react-docgen#guidelines-for-default-resolvers-and-handlers).
As anternative, tools like [react-docgen](https://github.com/reactjs/react-docgen) can be used. However, such tools are usualy based on static code analysis and have many [limitations](https://github.com/reactjs/react-docgen#guidelines-for-default-resolvers-and-handlers).

## Install

Expand Down Expand Up @@ -90,7 +90,7 @@ export default class Component extends React.Component {

### Using as webpack loader

`prop-types` can be patched via a webpack loader. In this case you nedd to add a rule for `prop-types` index file in this way:
`prop-types` can be patched via a webpack loader. In this case you need to add a rule for `prop-types` index file in this way:

```js
const webpackConfig = {
Expand Down

0 comments on commit 298bc76

Please sign in to comment.