Home / ReactJs / Page 2

ReactJs

Working with TypeScript and React

TypeScript is a typed superset of JavaScript compiled to Javascript and provides optional static typing, classes, and interface. Integrating TypeScript with React is super easy. If you are using the Create React App (CRA) to create your React application boilerplate then –typescript option will auto inject the TypeScript into the boilerplate and install the related dependencies.

Setup React Project with Webpack 4 and Babel

Facebook created create-react-app utility to set up React Project with minimum effort and configuration. There is also a way to create your own setup for React project from scratch. Let’s start without wasting too much time.

Before starting, make sure you have installed npm on your computer. To check that run the following command npm -v this command outputs you the version of npm. NPM comes with NodeJs and you can install it from the official Node.js site.