Ins and outs of a react project

Ishtiaque Ahmed
2 min readJun 6, 2021

React js being one of the most prominent library of javascript, is quite on the brink of popularity . In the global domain of web development, react is treated as a library which is well resourced with efficient packages and well structured format of working. As one of the evolving dimension of web development, it has a vast job scope at present and in the upcoming days as well.

As the package installation is easy, the terminal can run various installation commands on creating react app(npx create-react-app “name of your app”) where npx is quite similar to npm and it helps using CLI tools easier. The installed packages are all displayed in dependencies in package.json file.

Generating easy code for building classless and functional component is another advantage here. Mini commands like ‘rcc’ ‘rsc’ are some of those mentioned in this regard. For starting any application the command ‘npm start’ can be used.

Also, to enable routing in a react application, a lot of routing packages are available. “npm i react-router-dom” is the installation command here. Also some relevant import statements have to be there. Routing applications are quite more fascinating than the single application page (SPA). In other words, routing probably adds life to a web application.

Also, to enable authentication and validation in any project, there are free packages available. Firebase is one of those prominent alternatives available to validate. Firebase is a simple platform to be used for multifarious validations and authentications at diversified levels. Also there are so many firebase features that’s worth exploration.

Finally, to host a web application, there are platforms like netlify , firebase etc. As a beginner, it is preferable to host using netlify . With simple ‘npm run build’ and just simple drag and drop, web application can be hosted simply. But with the routing application , an additional command of redirection has to be used.

At the conclusion, react being a popular alternative, is quite worth the learning efforts that can simply make quite an impact in the career of a web developer. So, if you have any room of time, I prefer to engage in building your first react application.

--

--