Tag: React
-
How To Stop React Development Server?
You must hit CTRL + C in the terminal to stop the React development server from running. Take a look at this gif I created…
-
React Dev Tools In Firefox
Debugging React apps through an IDE like VS Code or WebStorm handles one aspect of inspecting your React app. The other main aspect is seeing…
-
React Code Review
This article will discuss code reviews for React code. Code reviews are a process that usually occurs once a developer is ready to merge their…
-
React vs WordPress
When building a website, developers have several options for how to build that website. Two of these options are React and WordPress. Both options can…
-
Should I learn PHP or React?
There is no right or wrong answer here. You need to consider what you are trying to build. PHP is great for back end programming…
-
What is a stateless component in React?
Stateless components in React are components that don’t manage data. For example, a stateless component might render the same thing each time, like a logo…
-
Where should functions in function components go?
It is technically possible to define functions inside functional components as in the following example: The main issue with the above example is that myInsideFunction…
-
Conditional rendering in React
Conditional rendering is the act of showing/hiding your elements/components based on the state of your application. Just like in any framework/language this can be done…
-
onClick with a parameter in React
It can be difficult to understand just how to pass a parameter to a React function from an onClick call, and it can even be…
-
Injecting singletons into your React components
Sometimes you’ll need to use the singleton pattern in your applications and there is an easy way to inject these into your React components. This…