Closed krashidov closed 8 years ago
I don't have a fix but I will mention that I have seen some weirdness with that warning message recently. I can't really remember what I did to make it go away but when it did, I had access to the the app context in my containers again (and everywhere I wanted it via Marty.injectApp
).
Maybe someone else might be able to shed some light on why that warnings coming up as you should be able to access the app in the context from the container.
This would be resolved by React v0.14's use of parent contexts everywhere. For now, I'd use your ApplicationContainer
as a top-level nested route outside of everything else, e.g. put a higher-level Route
above the one for TopNavbar
.
Hello, I'm using react-router and martyjs. My problem is that in my containers, this.app is undefined.
Basically, I got the warning that my "parent-based and owner-based contexts differ" Is this possible to fix currently or do I need to use marty-express ?
Thanks!