flocks.js
flocks.js copied to clipboard
Suss out whether react-native can be a thing
Currently getting help at https://github.com/jrm2k6/hello-flocks/blob/master/index.ios.js from @jrm2k6
Need to get rid of React.render. I suggest you base the new architecture on setting the state of a special flocks root component inheriting from <View/>
. Might as well switch it in the html version as well, seems like it would be cleaner anyway.
<FlocksRoot>
<Stuff/>
</FlocksRoot>
That would mean that a user's component couldn't be the root, which poses problems of its own.
I may do that in native, if there isn't another choice, however.