WhoBuilt

React Native Windows development workflow

Oct 5, 2021· 5 min· 587 views·Watch on YouTube

An unnamed Callstack speaker explains how React Native Windows compares with Electron, focusing on the JavaScript workflow and when native development is useful.

A familiar JavaScript setup

React Native Windows uses familiar tools such as Node.js, npm, JavaScript or TypeScript, and unit test frameworks. The intended workflow is similar to React Native, with most development focused on JavaScript rather than native code.

Native tools are available when needed

Like an Electron developer, a React Native Windows developer can use Visual Studio Code to build components and debug JavaScript. They can also use Visual Studio to inspect and debug native code, create modules or UI components for JavaScript, and change native rendering.

Keep native code limited

The speaker cautions against making native development the default just because those skills are available. Writing more native code makes the application less cross-platform, so native work should be kept to a minimum and used for specific needs.

Both backgrounds require adjustment

The host notes that JavaScript developers may initially find native development unfamiliar, while native developers also need to adjust. The transcript ends before the speaker explains that adjustment further.

Takeaways

  • Start with JavaScript and TypeScript for the main application workflow.
  • Use Visual Studio Code for JavaScript development and debugging.
  • Reach for Visual Studio and native code when a feature requires native functionality.
  • Keep native additions limited to preserve cross-platform portability.
  • Native development experience helps, but should not dictate the app's default approach.

Mentioned in this talk

Search inside this talk

What was claimed 7

Related talks