react-webpack-rails-tutorial icon indicating copy to clipboard operation
react-webpack-rails-tutorial copied to clipboard

Errors with switching tabs

Open justin808 opened this issue 7 years ago • 3 comments

Obscure error: https://facebook.github.io/react/docs/error-decoder.html?invariant=32&args[]=23

Unable to find element with ID 23.

Reproduction:

  1. Start app
  2. Click on "Simple React" tab (or Classic Rails)
  3. Click back on "React Router Demo" tab (or React Demo tab).
  4. See error in console.

2017-04-04_23-13-29

justin808 avatar Apr 05 '17 09:04 justin808

@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

justin808 avatar Apr 10 '17 20:04 justin808

I'm Oscar Endo. I'm grabbing this issue!

kr7pt0 avatar Apr 12 '19 17:04 kr7pt0

I've a question. In my local environment, I can't find this error. I pulled from master branch. Do you have any idea?

kr7pt0 avatar Apr 12 '19 17:04 kr7pt0