Comments (4)
@tgoldenberg Could you send me the error message you're getting?
from react-router-rails.
Here is the full error message:
Uncaught Error: Invariant Violation: _registerComponent(...): Target container is not a DOM element.invariant @ react.self-93bc62cb6c7b74ee7e5a2fcf623f3abbd365440bf90eba740c625f159078aa82.js?body=1:18473ReactMount._registerComponent @ react.self-93bc62cb6c7b74ee7e5a2fcf623f3abbd365440bf90eba740c625f159078aa82.js?body=1:12146ReactMount._renderNewRootComponent @ react.self-93bc62cb6c7b74ee7e5a2fcf623f3abbd365440bf90eba740c625f159078aa82.js?body=1:12186ReactPerf.measure.wrapper @ react.self-93bc62cb6c7b74ee7e5a2fcf623f3abbd365440bf90eba740c625f159078aa82.js?body=1:13428ReactMount.render @ react.self-93bc62cb6c7b74ee7e5a2fcf623f3abbd365440bf90eba740c625f159078aa82.js?body=1:12284ReactPerf.measure.wrapper @ react.self-93bc62cb6c7b74ee7e5a2fcf623f3abbd365440bf90eba740c625f159078aa82.js?body=1:13428(anonymous function) @ App.self-f95c4e6e9bb5a69624ff4cea0e7bdc2b3f0e38abc36205fc8e5ab8af066a6c8e.js?body=1:13React.createClass.statics.run.dispatchHandler @ react_router.self-a3943585cbcc7a7882eca04c71f0b40439960cdb60833a1e4af8d3be28cf5b47.js?body=1:1905(anonymous function) @ react_router.self-a3943585cbcc7a7882eca04c71f0b40439960cdb60833a1e4af8d3be28cf5b47.js?body=1:1873(anonymous function) @ react_router.self-a3943585cbcc7a7882eca04c71f0b40439960cdb60833a1e4af8d3be28cf5b47.js?body=1:2538Transition.to @ react_router.self-a3943585cbcc7a7882eca04c71f0b40439960cdb60833a1e4af8d3be28cf5b47.js?body=1:2541(anonymous function) @ react_router.self-a3943585cbcc7a7882eca04c71f0b40439960cdb60833a1e4af8d3be28cf5b47.js?body=1:1872Transition.from @ react_router.self-a3943585cbcc7a7882eca04c71f0b40439960cdb60833a1e4af8d3be28cf5b47.js?body=1:2520dispatch @ react_router.self-a3943585cbcc7a7882eca04c71f0b40439960cdb60833a1e4af8d3be28cf5b47.js?body=1:1869refresh @ react_router.self-a3943585cbcc7a7882eca04c71f0b40439960cdb60833a1e4af8d3be28cf5b47.js?body=1:1920run @ react_router.self-a3943585cbcc7a7882eca04c71f0b40439960cdb60833a1e4af8d3be28cf5b47.js?body=1:1916runRouter @ react_router.self-a3943585cbcc7a7882eca04c71f0b40439960cdb60833a1e4af8d3be28cf5b47.js?body=1:2088(anonymous function) @ App.self-f95c4e6e9bb5a69624ff4cea0e7bdc2b3f0e38abc36205fc8e5ab8af066a6c8e.js?body=1:12
from react-router-rails.
Mario, I'm sure this sounds really stupid, but you should specify that there are examples in the repo. I didn't realize this until just now and it solved all of my problems. I was having a hard time figuring out how to configure everything but with the example it all makes sense. Thank you for this gem
from react-router-rails.
@tgoldenberg It's not stupid at all. Actually I only added the example days ago, I'm still working on proper docs.
Thanks for the feedback.
from react-router-rails.
Related Issues (20)
- Issue when deploying to heroku HOT 10
- Prefetching data
- Using prerender_location in Javascript HOT 12
- Router + Fluxxor HOT 2
- Prerendering can't find the variable HOT 2
- prerendering? HOT 1
- Uncaught ReferenceError: <Component> is not defined HOT 2
- customize links HOT 1
- Please use ReactDom.render when server rendering HOT 3
- Update to React-Router 1.0 HOT 10
- Asset Precompilation for Production ENV HOT 10
- React.render deprecated
- Router render <noscript> in client?
- Cannot require react-router-rails in plugin engine HOT 1
- Example does not work on Rails 5 and updated react-rails HOT 1
- Turbolinks 5 events not supported in react_router_ujs? HOT 1
- really want to use this HOT 5
- pass properties using the react_router view helper HOT 3
- Improve server rendering documentation
- pass current_user to MyRoutes HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-router-rails.