r/reactnative • • Aug 10 '18

News Microsoft are quietly merging the changes made for developing Office 365 into their public fork of React Native for macOS

https://github.com/Microsoft/react-native-macos/commit/4332d900c0f597e2da2962334c9094726172d9dc
54 Upvotes

9 comments sorted by

11

u/Bamboo_the_plant Aug 10 '18 edited Aug 17 '18

The commit in question, made on 16th July, uses the term "OfficeISS". I can find no mention of this online. Is this a straightforward code-name for their project to re-write their major apps in React, mentioned in the following tweet? https://twitter.com/TheLarkInn/status/1006746626617008128

I asked for clarification on how they were approaching macOS support in React Native, both:

  1. in that Twitter thread (to no answer): https://twitter.com/LinguaBrowse/status/1006834843416657920

  2. and in the subsequent Reddit discussion: https://www.reddit.com/r/programming/comments/8qqhlz/office_365_ms_teams_skype_code_and_the_edge_debug/e0lr0k1/ (to an answer ignoring the macOS part of my question).

Microsoft are clearly going all-in on React Native:

  1. TypeScript 3 has plenty of oddly React-specific features (e.g. defaultProps and PropTypes support): https://blogs.msdn.microsoft.com/typescript/2018/07/30/announcing-typescript-3-0/#default-props-support

  2. react-native-windows is thriving: https://github.com/Microsoft/react-native-windows

  3. WinObjC is looking formidable: https://github.com/Microsoft/WinObjC

I think the future is bright for Microsoft, cross-platform development, and the React universe..!

Edit: "OfficeISS" likely stands for "Office Internal Shared Source".

6

u/PistolPlay Aug 10 '18

This is awesome. I've started a project for web + mobile that shares a codebase using React. The benefits cannot be overstated enough.

It's great news that there's a company like Microsoft with it's engineers and $$ working to make this better.

9

u/gavrocheBxN Aug 10 '18

Ah, didn't notice Microsoft started working on its MacOS version of React Native. Very exciting, we may finally have a version of React Native for MacOS that does not suck. It makes sense from Microsoft's point of view to go all in on React Native, they'll get a big community of developers ready to develop apps for their platform, which cannot be said of the current state of the Windows Store. They may try to reboot Windows Phone eventually and have an app store with content.

2

u/PistolPlay Aug 10 '18

I'm a web developer and they entinced me already with React on Xbox. This will definitely break my hesitations on developing on Microsoft platforms.

2

u/captaincryptoshow Aug 10 '18

How does this compare with using Electron?

13

u/gavrocheBxN Aug 10 '18

React Native is a native ui view managed by JavaScript. This means that you do not need to run a full on browser that takes up half of your memory in order to have a small chat app. It also means that you get access to native components and APIs so your app is a native app but you get also access to all of the JavaScript ecosystem.

2

u/captaincryptoshow Aug 10 '18

Thank you for the info!

→ More replies (1)

0

u/[deleted] Aug 10 '18

[deleted]

2

u/Bamboo_the_plant Aug 10 '18

Best bet is to ask on 'react-native-platforms' on https://www.reactiflux.com , or build it just like one would build regular react native (perhaps replacing the term 'ios' with 'macos' where appropriate). The more famous https://github.com/ptmt/react-native-macos created its own CLI for initing projects; maybe you could study that.