Cristian Salcescu's Blog, page 15

March 8, 2021

How to Transform Lists into Map Objects

It may happen that you need to convert an array of objects into mapping literals or vice versa. In this post, we will look at how to do…

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on March 08, 2021 06:30

March 7, 2021

How to Transform Arrays and Objects into Maps

In this article, we will look at how to create maps from arrays and objects and vice-versa.

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on March 07, 2021 23:15

How to Create a Clock Component with Svelte

In this post, we will build a component in Svelte displaying the current time.

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on March 07, 2021 04:36

March 6, 2021

How to Sort Arrays

[image error]

In this article, we will take a look at how to the sort method to sort arrays of numbers, string, and objects.

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on March 06, 2021 23:31

Essential things on undefined and null

In this article, we will take a look at some common things you should on the null and undefined values.

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on March 06, 2021 03:40

March 3, 2021

Can You Do the Union, Intersection, and Difference of Arrays Exercises

Solve the following challenges using functional programming techniques.

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on March 03, 2021 02:45

How to Build the Todo App with Svelte

[image error]

In this article, we are going to learn how to create and communicate between components in Svelete by building a mini Todo application.

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on March 03, 2021 00:52

March 2, 2021

How to Do a Fetch Inside React Components

In this post, we are going to look at how to make a fetch request inside a React function component and how to handle the three possible…

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on March 02, 2021 23:45

UI State Management

From Object-Oriented to Functional

Nowadays state management has become a common challenge when developing web applications. The time when we directly changed the UI for display data is long gone. All major UI libraries come with a new approach, changing the UI means actually changing the state.

The obvious question now is what state actually is.

State is data basically.
Is any data used in the application state?
The answer is “No”. Only the data that is stored becomes state. If the data doesn’t chan...

 •  0 comments  •  flag
Share on Twitter
Published on March 02, 2021 00:57

March 1, 2021

How to Remove Duplicates from Arrays

In this article, we are going to look at how to remove duplicates from an array. We will analyze two kinds of values: primitives and…

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on March 01, 2021 05:18