This is the most important list of the shortcuts every developer should learn asap. I wish I knew them when I started my career as a developer so i could save my time on manual typing.
Pretty easy. Move line up and down.
For mac use Opt+Down or Opt+Up
You can format the whole active file or ask you to download a Formatter extension. I love to use Prettier extension to format JS code
For mac use Shift + Option + F
For Windows use Shift + Alt+ F
You can easily toggle between comment and uncomment line behavior.
When I want to visualize data on a web app, my preferred environment is using D3.js in a React application. But these two technologies are quite hard to combine. The reason is that they both want to handle the DOM.
Let’s start it!
When we want to visualize data in the browser, we will most probably want to work with SVG elements because they are very expressive and are absolutely positioned.
To begin, we shall render a simple <svg> element.
Managing state in React with Redux can be extremely difficult. We have to deal with the heavy amount of boilerplate which can be a headache for the developers. The creator of Redux Dan Abramov describes the annoyance better than I:
React has been around since 2013. Building web applications with React has become difficult for developers that are coming from other frameworks or programming languages. For example if you have worked with Angular you could say that you have all the necessary features at your disposal.
React only helps us to develop Component driven UI with functional Components and props. React has some pre defined solutions like React Hooks for local state management and side effects. In the end we are dealing with Components in React.
In this article I am going to discuss complementary libraries that can help you…
In this article we are going to discuss how to do performance optimization of a React app. We usually do this by using pagination or visualization in our app, but the question is if we have an app in which we want to render a lot of Components and we don’t want to compromise on the performance and UX of it?
For the purpose of demonstration I am considering an app which will render 30000 squares on the screen and I will utilize React 17.0 and functional Components with hooks. Our app has two Components: <App /> and <Square />.
So let’s start !
The method to create new objects on basis of the existing objects is called prototype chain
A programming language is called to have First-class functions when functions in that language are used like any other variable. e.g, …
So let’s start !
An arrow function expression is a compact substitute to a traditional function expression, but is limited and can’t be used in all situations.
Differences & Limitations:
In this article, we take a deep dive into how to make TypeScript declaration files that let us to do that. …
Incognito or private mode utilizes a separate user profile and does not keep data such as cookies, localStorage, or cached files between browser restarts. Every session begins in a clean state so it can be ideal for Progressive Web Apps (PWA), testing login systems and first-load performance. …
Numerous programming languages have one “non-value” called null. It tells that a variable doesn’t currently point to an object — e.g, when it hasn’t been initialized yet.
Both values are quite similar and frequently used interchangeably. How they vary is therefore precise.
The ECMAScript language specification describes them as follows:
i am front end developer and React Geek