Comments (3)
Having same issue but not able to find where cause the problem...
from the doc
The component finds the state context by looking first via React props, and second via AngularJS DOM data. It then provides the state context to its children using React props.
So I guess it should get react props?
from react-hybrid.
Tried react context. Looks like it will also break the context, so it can only get default context but not value props in provider.
from react-hybrid.
So here is my finding about this.
-
Component wrapped in UIView here is actually going to copy context then make a stand alone component tree. so after render, parent component(containing UIView) and child component(inside UIView) is not in the same tree and so disconnected. That why isn't work here.
-
only feed in state config and className(I guess) into component.
from react-hybrid.
Related Issues (20)
- Error: [$injector:unpr] Unknown provider HOT 2
- Nested views not working
- Apollo Client support HOT 2
- ui-view with default content gets wiped out
- npm WARN @uirouter/[email protected] requires a peer of react@^15.0.0 but none is installed. You must install peer dependencies yourself. HOT 1
- Issues with React 16.9.0 HOT 1
- Params not passing from react context
- Is there any plan/way in UI Router to support Angular,AngularJS,React together in a SPA HOT 1
- Error: Could not resolve '[object Object]' from state X HOT 3
- Integrating 3 frameworks
- Migrated to @ui-router from angular-ui-router, not able to route to React HOT 1
- When creating a named child state via react / UIView, name property does not get passed down HOT 3
- Add 0.2.0 example / improve docs
- No coreservices initialization HOT 1
- Update Peer Dependencies HOT 1
- onEnter function arguments must be '$transition$' and '$state$' if used in state definition HOT 2
- Going to react component throws "Unknown provider: DirectiveProvider <- Directive" HOT 1
- Support React v18.1? HOT 5
- Route to state with params doesn't work HOT 2
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-hybrid.