Explore >> Select a destination


You are here

blog.coderspirit.xyz
| | reactnative.dev
6.8 parsecs away

Travel
| | JavaScript! We all love it. But some of us also love types. Luckily, options exist to add stronger types to JavaScript. My favourite is TypeScript, but React Native supports Flow out of the box. Which you prefer is a matter of preference, they each have their own approach on how to add the magic of types to JavaScript. Today, we're going to look at how to use TypeScript in React Native apps.
| | codedrivendevelopment.com
8.6 parsecs away

Travel
| |
| | janik6n.net
8.2 parsecs away

Travel
| | My batteries included TypeScript starter for 2025
| | www.hillelwayne.com
59.5 parsecs away

Travel
| What does this print? x = 1 x --> 0 Think it through, then try it in a browser console! Answer and explanation in the dropdown. Show answer It prints 1. wait wtf At the beginning of a line (and only at the beginning of a line), --> starts a comment. The JavaScript is parsed as x=1; x; // 0 The browser then displays the value of the last expression, which of course is 1.