React-table: Code example for useExpanded is broken

Created on 7 Dec 2019  Â·  3Comments  Â·  Source: tannerlinsley/react-table

https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/expanding

Currently shows an error message. The stack trace isn't useful to me; I can't figure out exactly what's wrong.

A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.
â–¶ 12 stack frames were collapsed.
evaluate
/src/index.js:6:9

  3 | import './index.css'
  4 | import App from './App'
  5 | 
> 6 | ReactDOM.render(<App />, document.getElementById('root'))
    |         ^
  7 | 

View compiled
â–¶ 10 stack frames were collapsed.

Most helpful comment

@tremby @patwalls All (or most) examples are broken. They work if you change the dependency version of react-table from "latest" to "7.0.0.rc3" under "Dependencies" in the sidebar

All 3 comments

Also experiencing this on another codesandbox example.

@tremby @patwalls All (or most) examples are broken. They work if you change the dependency version of react-table from "latest" to "7.0.0.rc3" under "Dependencies" in the sidebar

Indeed. This issue should be fixed with the next release (in a few hours)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mellis481 picture mellis481  Â·  3Comments

missmellyg85 picture missmellyg85  Â·  3Comments

krishna-shenll picture krishna-shenll  Â·  3Comments

DaveyEdwards picture DaveyEdwards  Â·  3Comments

alexanderwhatley picture alexanderwhatley  Â·  3Comments