question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed PropType errors on console?

See original GitHub issue

What version of React-Table are you using?

6.7.1

What bug are you experiencing, or what feature are you proposing?

My developer log in chrome is showing failed prop types for all the decorative component props.

screen shot 2017-10-27 at 1 50 30 pm

Here is a snippet of my code: **the errors also show on the examples here ` render() {

const columns = [
  {
    Header: 'id',
    accessor: 'id'
  }, {
    Header: 'Name',
    accessor: 'name'
  }
]

return (
  <div className='content'>
    <NavBar />
    {
      this.state.showModal ? <PlayerModal /> : null
    }
    <ReactTable
      data={this.props.teamStats}
      columns={columns}
    />
  </div>
)

} }`

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
gary-menzelcommented, Oct 27, 2017

V 6.7.4 seems to resolve the last of the propTypes issues.

1reaction
tannerlinsleycommented, Oct 27, 2017

BTW, sorry about this one guys. Somehow this PR slipped past me on testing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting a console message : Failed prop type: The prop `value ...
I am getting proptype error due to which I am not able to proper url, on my chrome instead of getting an address...
Read more >
Prop is the correct type, but console still indicates failed prop ...
If I change my code from PropTypes.object to PropTypes.array , then the console error changes to: Warning: Failed prop type: Invalid prop data...
Read more >
Making unit tests fail when PropTypes error - Jack Franklin
When running our test suite with Jest, I noticed that I'd often miss the console warnings that the PropTypes library emits if some...
Read more >
How to forget about type errors in your React props with ...
In this article, we will be looking at how to making your debugging process faster with prop types in React, what they are,...
Read more >
Don't Call PropTypes Warning - React
Once this happens, any code that calls these functions manually (that isn't stripped in production) will throw an error. Declaring PropTypes is still...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found