Comments (2)
Maybe a make MagicMove a wrapper component that internally creates a component on the fly. It either returns the default MagicMove component, or if a context
prop is provided, it creates a new component with React.createClass()
with the given context and returns that.
from react-magic-move.
@acdlite yes..seems than child nodes (nested elements) doesnt receive the context, I'm facing the same problem right now because I'm using baobab and the tree is passed using the context
maybe this discussion could give you an idea
github.com/Yomguithereal/baobab-react/issues/52
I was checking the code of react-magic-move but some parts are a bit difficult to understand for me, basically because it works using react in a very special way
this problem seems will be solved with react 14 but if you can solve this lib before that please let me know.thanks!.
from react-magic-move.
Related Issues (12)
- does this module need to be compiled before publishing to NPM? HOT 1
- Module Loader HOT 1
- Can you explain the implementation choices? HOT 1
- work with React 0.14? HOT 13
- I can't install it with bower
- it not support Typescript 💔
- 'uglifyjs' is not in the npm registry.
- Will not move sub-components HOT 1
- Use react-magic-move with webpack HOT 2
- adding dist/react-magic-move.js after 0.13.1 react.js gives "Only a ReactOwner can have refs" error HOT 3
- Support React 0.13.X HOT 4
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-magic-move.