Mikael Sand
Mikael Sand
I was thinking about something very similar to this last night, and then a link to this shows up today. Seems the approach here might be even better. Anyway, here's...
Made a first proof-of-concept of a previewer and compiler: https://github.com/msand/barboraxuexpo/blob/component-designer/pages/comp.js Any thoughts?
My current poc supports javascript expressions, by parsing and evaluating objects having a 'c' property, using https://github.com/donmccurdy/expression-eval And calling functions using the simplified structure on arrays, with the convention that...
Mainly because of computational efficiency reasons. You can define those components with this model anyway, and use them exactly as your example specifies. Besides, those components would have to use...
I've added at least partial support for Pattern to react-native-svg now, non-default units still missing but they seem to be rarely used anyway.
You could probably use a weakmap to store state related to the nodes as well, without storing anything on the node/ref
Invariant Violation: Module AppRegistry is not a registered callabel module (calling runApplication)
Another possible reason for this is that there are multiple versions of react-native in node_modules
Invariant Violation: Module AppRegistry is not a registered callabel module (calling runApplication)
Try searching for `registerCallableModule('AppRegistry'` in node_modules, if you find more than one, that's a likely reason
I've published a workaround for now if you're interested: https://github.com/msand/react-native-selectable-text It's only needed on Android, and works as a drop-in replacement for a TextInput with these specific values on iOS,...
@nevir @jamesreggio Hey! Are you guys interested in these changes?