
Learn React 18 Beta - 1
Migrate a Client-Side Application to React 18 Beta
Search for a command to run...

Migrate a Client-Side Application to React 18 Beta

I was asked this question in an interview. My answer was both are necessary because my experience uses Node.js to build the backend. It has to make sure that the user sent the right type of data. For the front end, Validation can give some hints if t...

Intermediate React Interview # Demo Code 1: fetch Data const [fetchData, setFetchData] = React.useState(null) React.useEffect(() => { fetch("https://randomuser.me/api/?results=20") .then((response) => response.json()) .then((re...

Review and Explore Node.js Node Globals: __dirname __filename global os, fs , http don't need install: const os = require("os") // system info const fs = require("fs") // files management const http = require("http") console.log(os.platform(), ...

Learn about TypeScript Types by Inference # let helloWorld = "Hello World"; Defining Types You can explicitly describe this object’s shape using an interface declaration: interface User { name: string; id: number; } const user: User = { name: ...

Learn about useMemo React hooks are amazing. Being able to put all the logic and state management within a function component allows for mind blowing composability. This power comes with an unfortunate limitation that calculations performed within re...

Improve Assessment - Student Profiles We noticed you assumed IDs are always integers, start at 1, and only increment by 1. This breaks when the IDs are not integers and/or do not begin at 1. You calculate the average each time the student component ...

I am really excited to update my Pixel 4 to Android 12 after watching Google I/O 2021 - What's new in Android. If you have a pixel phone or greater than 3, you could try it now. Here is the link for enroll. After read some videos and articles, I...

Improve Assessment - Student Profiles Todos: IDs use useCallback and useMemo memorize the average number unable to search by full name The fetching data has first name and last name, and I never thought about someone will search the full name. I u...