Open in app

Sign in

Write

Sign in

Avicsebooks
Avicsebooks

3 Followers

Home

About

Nov 16

Discourage Class Component in React

React has shifted towards functional components and functional programming paradigms for several reasons. While class components were the primary way of building components in earlier versions of React, the introduction of React Hooks in React 16.8 …

2 min read

2 min read


Oct 22

JavaScript sync/async pattern [async-await]

Sync/Async pattern The “sync/async pattern” in JavaScript, often used in conjunction with generators, is a design pattern that allows you to write asynchronous code in a more synchronous and linear style. It simplifies the management of asynchronous operations by providing a mechanism to pause and resume execution at specific points in the…

Asyncawait

8 min read

Asyncawait

8 min read


Oct 22

JS Regular Expression Improvement

Look ahead and look behind “Lookahead” and “look behind” are two advanced features in regular expressions (regex) that allow you to check if a pattern is followed or preceded by another pattern without including the lookahead or look behind part in the match. JavaScript supports both positive and negative lookahead and look-behind assertions. Here’s how…

Regular Expressions

4 min read

Regular Expressions

4 min read


Oct 21

Iterators and Generators in Javascript

An iterator in JavaScript is an object that can access elements or values from a collection (such as an array, set, or map) one at a time. Iterators are commonly used in JavaScript to loop or iterate through the elements of iterable data structures, and they are an essential part…

Iterators

10 min read

Iterators

10 min read


Aug 31

Tagged Template String in JS

In JavaScript, a tagged template string is a feature that allows you to define custom template literals by “tagging” them with a function. Template literals are a way to work with strings that include placeholders (expressions) and multiline content more conveniently. A tagged template string consists of two main parts…

Template Strings

2 min read

Template Strings

2 min read


Aug 2

Functional Programming in Java

Higher-order functions: A function that accepts one or more functions as arguments and/or returns a function as its output is referred to as a higher-order function. In Java 8, Higher-Order Functions (HOFs) refer to functions that can accept other functions as arguments or return functions as results. …

Functional Programming

21 min read

Functional Programming in Java
Functional Programming in Java
Functional Programming

21 min read


Jul 31

SOLID

S ==> Separation of Concern Principle. O ==> Open/Closed Principle. L ==> Liskov Substitution Principle. I ==> Interface Segregation Principle. D ==> Dependeny Inversion Code Smells Duplication. Long Method. Big Class. Feature envy. Useless comment Poor name Inappropriate Intimacy Shotgun Surgery. Switch. God Class. Primitive Obsession. Request Bequest. Feature envy In the context of…

Solid

20 min read

SOLID
SOLID
Solid

20 min read


Jul 24

TailWind CSS

A well-liked utility-first CSS framework called Tailwind CSS enables programmers to quickly create user interfaces that are cutting-edge, responsive, and adaptable. Tailwind CSS offers a set of low-level utility classes that may be combined to create unique UI components, in contrast to conventional CSS frameworks, which come with pre-designed elements. Tailwind CSS’s salient attributes include: …

Tailwind Css

4 min read

Tailwind Css

4 min read


Jul 24

React hooks useLayoutEffect

useLayoutEffect: useLayoutEffect is a React Hook that works similarly to useEffect, but with one significant difference. While useEffect runs after the render is committed to the screen (i.e., after painting), useLayoutEffect runs synchronously after all DOM mutations, but before the user sees the updates on the screen. …

Uselayouteffect

2 min read

Uselayouteffect

2 min read


Jul 24

React hooks useCallback

useCallback is a React Hook used for memoizing functions so that they are only recreated when their dependencies change. It is especially useful when passing functions to child components, preventing unnecessary re-renders of those child components and optimizing performance. The syntax for using useCallback is as follows: import React, {…

2 min read

2 min read

Avicsebooks

Avicsebooks

3 Followers
Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • Xiuer Old

    Xiuer Old

  • Fresh Frontend Links

    Fresh Frontend Links

  • Omar Elgabry

    Omar Elgabry

  • Shashi Sastry

    Shashi Sastry

See all (37)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams