Comments (3)
Why don't we throw in an OrderedSet
as keys or something as an experiment?
I'm wondering why we even have to supply keys to React. Is there a reason the reconciler can't make those up?
from reason-react.
We can have that; just that it's not clear whether it'll work out yet (not many people understand the semantics of nested arrays keys btw). In the meantime, having children statically typed would be great anyway! We can tackle on OrderedSet
later too.
I'm thinking it's also not worse in terms of verbosity. Right now it's ReactRe.stringToElement
and some others...
from reason-react.
@chenglou can you explain the issues with nested arrays?
from reason-react.
Related Issues (20)
- Non-ascii characters not displaying correctly HOT 4
- type style obj HOT 2
- reactRef should be a DOM element, or castable to a DOM element HOT 4
- Give official answer to HOC HOT 2
- Don't assume null_undefined for jsChildrenToReason HOT 2
- ReactDOMRe.render's signature is too specific HOT 1
- BS has changed its object label translation convention HOT 1
- type different kinds of events HOT 2
- Missing LICENSE HOT 1
- Set up merlin integration tests HOT 1
- updater for stateless components HOT 1
- react native support HOT 4
- Expose a unsafeAddProp to ReactDOMRe.Style HOT 1
- Async state updates HOT 3
- Single labelled curried argument in createElement HOT 1
- Unable to use dangerouslySetInnerHTML attribute HOT 2
- defaultValue not supported HOT 1
- Generic Style HOT 1
- "step" property of input elements is defined as int HOT 1
- Integration with create-react-app? 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 reason-react.