react-webpack-rails-tutorial
react-webpack-rails-tutorial copied to clipboard
Errors with switching tabs
Obscure error: https://facebook.github.io/react/docs/error-decoder.html?invariant=32&args[]=23
Unable to find element with ID 23.
Reproduction:
- Start app
- Click on "Simple React" tab (or Classic Rails)
- Click back on "React Router Demo" tab (or React Demo tab).
- See error in console.
@richa Mentioned to me on Slack:
here is the culprit: https://github.com/richa/react-webpack-rails-tutorial/commit/ac9af685609047ebed461d10a2280cb35eff00d9 GitHub removed stale App.cable code in CommentBox · richa/react-webpack-rails-tutorial@ac9af68 react-webpack-rails-tutorial - Example of integration of Rails, react, redux, using the react_on_rails gem, webpack, enabling the es7 and jsx transpilers, and node integration. And React Native! Live Demo:
Fix: Need to remove this stale componentWillUnmount code last time
I'm Oscar Endo. I'm grabbing this issue!
I've a question. In my local environment, I can't find this error. I pulled from master branch. Do you have any idea?