Use ReactJS to Build Native Apps
141–150 of 175 posts
Re: Use ReactJS to Build Native Apps
#142Re: Use ReactJS to Build Native Apps
#143"Learn Once Write Everywhere" I this this is a great mentality over the classic write once run everywhere approach. We're currently building a native cross-platform desktop email client in React + Flux on Atom Shell. As Nilas thinks about mobile and other platforms it's clear that the interaction design and information architecture are radically different. While some code should be re-used most shouldn't. Having a re…
I can't help but think about that other chestnut, "A determined programmer can write Fortran in any language."
Of course it makes sense to apply a pattern that you know worked great in the past. The tough part is deciding when it's worth trying something else.
Re: Use ReactJS to Build Native Apps
#144Seasoned Appcelerator’s Titanium Mobile SDK dev here. Looks like that a lot of people here is comparing this announcement from the react team to the Titanium Mobile SDK. I’d like to give some info to shed some light on the differences, and probably anticipate the challenges they have to (or had to) solve. ## Architecture Both Titanium SDK and this Native React thing do have a JavaScript runtime behind the curtains. B…
Re: Use ReactJS to Build Native Apps
#145Earlier quoted context omitted.
There will be more detail tomorrow, but at a high level: * JS engine on a background thread * Communicates via batched, async messaging protocol to a native (objc or android) server running on the main thread (basically create_view(), update_view(), destroy_view(), on_event() etc) * Plug-in for React that speaks that protocol * Tools to make cross-platform dev a bit easier (standard text component, cross-platform fle…
You guys better be filming the talks! :)
Re: Use ReactJS to Build Native Apps
#146Re: Use ReactJS to Build Native Apps
#147Re: Use ReactJS to Build Native Apps
#148I would love to see React added to mobile app frameworks like Apache Cordova.
Re: Use ReactJS to Build Native Apps
#149Seasoned Appcelerator’s Titanium Mobile SDK dev here. Looks like that a lot of people here is comparing this announcement from the react team to the Titanium Mobile SDK. I’d like to give some info to shed some light on the differences, and probably anticipate the challenges they have to (or had to) solve. ## Architecture Both Titanium SDK and this Native React thing do have a JavaScript runtime behind the curtains. B…
Titanium comparisons are some of my top thoughts too. 1) How do they access the native API? If there's no abstraction, just a translation, then the apps must be different for each platform. If there is an abstraction, then how much of the native platform do they cover? It can't be 100%, and the native APIs change with every OS version. Basic calls are easy, integrating things like device keychain, intents, and servic…
BTW, did you have a look at titaniumifier? (https://github.com/smclab/titaniumifier) it’s a tool we built to port node packages to titanium (a declination of browserify, actually).
Re: Use ReactJS to Build Native Apps
#150Earlier quoted context omitted.
You can do that with some funny inline-block wizardy on Vanilla CSS by the way. I don’t currently know if flex-box helps here. I think not.
Source? AFAIK if you want your border, padding and margin respected, there is no way to do the above in vanilla CSS. Which is why css-flexbox was proposed.
The issue is that it’s only width-constrained.