what is it? what it’s used for? how to learn it? and more…

Photo by Scott Webb on Unsplash

A Brief About Node.js:

Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. It is one of the most popular technologies nowadays to build scalable and efficient REST API’s. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on z/OS, Linux, macOS, Microsoft Windows, SmartOS, FreeBSD, OpenBSD, IBM AIX.

it allows the Node.js developers to create web servers & networking tools using JavaScript and collection of modules that handle various core functionalities.

In this article we were gonna talk about node.js.

the beginning of node.js:


What is it? How does Redux work? When to use Redux? And more

image by Sandro Katalina on Unsplash


Photo by matthaeus on Unsplash.

To save you some time, let me tell you something up front: I want you to know that there is no best choose….I can’t tell you that, because the answer depends on a wide range of factors which make a particular technology more or less suitable for your environment and use case. both of these technologies are good. Each technologies has a lot to offer and it’s not easy to choose between them. both of them have a Pros and Cons. …


The export statement is used when creating JavaScript modules to export live bindings to functions, objects, or primitive values from the module so they can be used by other programs with the import statement. Bindings that are exported can still be modified locally; when imported, although they can only be read by the importing module the value updates whenever it is updated by the exporting module.

let’s learn it with an example

in React, when you create a component something like this:

import React from 'react';const Hello = () => {    return (        <h1>Hello, World!</h1>
)}

then when you…


One of the advantages of using React to render a user interface is that it’s easy to break up the UI into components. However, a common problem that arises is when we want to return sibling(if you don’t know what is sibling check here.) elements with no parent. React has a feature called Fragments that provides the solution.

The problem

If you aren’t familiar with the problem, consider this example.

function FAQ() {
return (
<p>What is React?</p>
<p>A JS library for building UI</p>
<p>How do I render sibling elements?</p>
<p>Use Fragments</p>
);
}

then you got this error:

Adjacent JSX elements…


Pip installation

Pip is a package management system that simplifies installation and management of software packages written in Python such as those found in the Python Package Index (PyPI). Pip is not installed by default on Ubuntu 18.04, but the installation is pretty straightforward.

In this tutorial, we will show you how to install Python Pip on Ubuntu 18.04 using the apt package manager. We will also walk you through the basics of installing and managing Python packages with pip.

Installation

Update your system

It is always a good idea to update before trying to install a new package. Run the command below:

sudo apt-get update

Installing pip for Python 3

Arvin mostafaei

Hello! My name’s Arvin. I’m a developer that loves simplifying things. I love breaking down complex problems into simple, easy to understand solutions.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store