React native is open source mobile application framework created by Facebook and community. React native are written in objective-c,Java,C++ and python. Different kinds of people are use react native and people are advanced ios developer to they have react beginners and those type of people who get started programming for the first time in their career.

Docs are written for all learners, no matter their experience level or background. It’s based on react Facebook JavaScript library for building user interface. Web developers can now write mobile application that look and feel truly “native”.

React native make it easy to simultaneously developed for both android and ios. Your application will render using real mobile UI components not web views and we will look any other mobile application. React native app can access platform feature like phone, camera or user location. Besides shared react components wrap existing code and interact with native APIs via UI paradigm and JavaScript. You can use react developer tools to debug the react component hierarchy.

React Native built in flow and it will support both Typescript and flow by default. Type Script is language which extends JavaScript by add type definitions. React native application needs to access a native platform. API that is not available by default in JS. Native module system are expose instance of objective-C/C++ classes to JS as JS object and thereby allow to execute arbitrary native code from within JS.

The largest risk in react native is maturity, as the project still relatively young. Android support released in September 2015 and ios support released in march 2015. Some feature of Android and IOS still are not supported the community is still discovering best practices. React native is still young and the usual caution that go along with working new technology are apply here.

Deno and Node

Deno and node in both of them whose are better for learning, let’s see the difference of both of them.

  • Deno are uses rust under the hood but also use V8 engine just like Nodejs.
    In Node.js, you can load CommonJS modules using the require keyword and they all are, standard and third-party, and they implicitly come from npmjs.com
  • Deno are not supported NPM packages and also not support node modules directory, but Deno can load ES modules using the import keyword and explicitly state the URL. As compare to node, Deno are asking for system to executed the code.
    In Nodejs we can use a language JavaScript but in Deno we can use JavaScript and typescript both.
  • Machine Execution in Deno are Tokio, rusty_v8 bindings and other libraries written in Rust.
    In nodejs machine execution are Libuv + other patching libraries maintained by node project.

We can see both the language as a security purpose so Nodejs is that once node app is running it can easily access the file system but in the other hand Deno provide command line flag ‘-allow-net’ to give access to all external permissions for script and Deno are also uses command-line arguments to allow or disable access to different security features.

Deno is a secure runtime for JavaScript and Typescript that is based on the Rust programming language and the deno is created by Ryan Dahl. Two years development deno finally reached version 1.0 in May2020, deno supports all web worker API, Workers can be used to run code on multiple threads.

Deno have a new way to manage module nodejs has a bloated package.json file a lock file, deno has code. In web, deno has no centralized package repository, such as NPM. Instead file are imported where needed and downloaded when they do not exist in the module cache. Six Companies reportedly use deno in their tech stacks, including the lonero foundation, cloudless and SOLID engineer. Deno has mainly features- They are Dependency inspector, Code formatter, Bundling, Runtime type info.

Deno are runtime built on Google’s V8 JavaScript engine, the same engine used in Google Chrome. They have internal event loops and provide command-line interfaces for running scripts and a wide range of system utilities. Though deno performs better in the -c100 test, which means deno is doing better than node in a higher traffic network.