Cristian Salcescu's Blog, page 2

September 21, 2022

How to Debounce/Throttle a Callback with React Hooks

Debounce, throttle, useCallback hook, and more

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on September 21, 2022 01:46

August 28, 2022

3 Default Behaviours When Submitting HTML Forms

Default button type, default form method, pressing Enter in inputs, and more

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on August 28, 2022 23:02

August 24, 2022

3 Ways to Render a List in React

Using inline functions, extracting the item to its own component, and more

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on August 24, 2022 23:02

August 21, 2022

Showing a Playing Card From a Single Suite With Elm

Creating a div element, defining attributes, and more

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on August 21, 2022 23:02

August 18, 2022

Creating a Hook for Debounced Inputs

How to make a search after the user has stopped typing

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on August 18, 2022 23:02

August 17, 2022

Guess the Number with React Hooks

Controller input, generating a random number, counting the number of guesses, and more

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on August 17, 2022 23:02

August 14, 2022

How to Create a Digital Clock with Svelte

Date constructor, onMount lifecycle function, and more

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on August 14, 2022 23:03

August 11, 2022

June 14, 2022

How to Create a DropButton with React Hooks and Styled Components

Absolute position, toggle content, passing parameters to styled-components, and more

Continue reading on Frontend Essentials »

 •  0 comments  •  flag
Share on Twitter
Published on June 14, 2022 00:01

June 1, 2022