


We need to add an additional library called DirectionalNavigation to allow users to navigate on the Xbox app using a game controller.
Windows xbox app for mac install#
Sudo npm install -global create-react-app Creating your project create-react-app my-xbox-appĪfter `npm start` the app should run on address localhost:3000 and you can open it in the browser or use it later during the creation of the Universal Windows App (UWA) # On OSX or Linux it requires higher write access Installation of CRA npm install -global create-react-app Basically, we need to install it globally using npm and then create an application with a single command. To create React application I personally recommend using Create React App boilerplate created by the Facebook team and React community. It means for us – developers, that we can use all features which are compatible with the latest version of Microsoft Edge. It’s possible because Microsoft gives us tools to create hosted universal web application (UWA) which, in fact, runs in Microsoft edge web view. But we need to remember that Xbox offers us only 25% of its power to use this app and that’s why we really should take care of the optimization of code. You can write an application in React and adjust it a little bit to use it on Xbox like almost native. So if it’s possible to write such an app in JavaScript maybe I should learn React Native? Nope! (And WIN10, Visual studio with gigabytes of dependencies). But after some research, I had recognized that all I need is JavaScript. Before I start working on my first Xbox application I thought that I need to know at least one native language like C# to build it.
