I’m going to explain how to create a very basic modal or dialog component in React JS and use it in other components in this post. Keep in mind that it is a very straightforward component without any particular designs. As a result, you can create your own designs. In addition, I employ the following […]
How to Clean My React.js Project from Unused Dependencies
As I mentioned before, I’m learning the react.js framework, so I try to define projects and use different tools for them to learn other aspects of this framework. On one of my first projects, I decide to use bootstrap for the front-end, but later I decide to use material-ui instead. I install material-ui and forgot […]
Node.js Packages, Global vs Local Installation
Once time, that I was googling for packages to use in my project, I see this command: I knew that -g points to globally install this package, and it means that I can use this package to my all project in my system. Today I face this command again and I curious to compare that with […]
Introduce React.js Learning Books.
React (as known as React.js or ReactJS) is a JavaScript library for building user interfaces. It is maintained by Facebook and a community of individual developers and companies. React can be used as a base in the development of single-page or mobile applications. Wikipedia In the programming world, there are different ways to get learned […]
How to Manage Routers in React Js to Redirect to Login Page
Most of the time, when designing a website, we want to have a similar scenario: “There are pages that everyone can access. In contrast, there are pages and resources that only those who have logged in to the system can access, otherwise, their request to access these resources must be returned to the login page.“ […]