Rootly logoRootly

Notes

Manage your learning questions and answers

Why would we use Template Literal with Ternary Operator in JSX?

Ultimate React & Next.jsJonas Schmedtmann
Getting ItHas SnippetFlagged9/8/2025
Click the eye icon to reveal answer

What is React Fragments? When to use it?

Ultimate React & Next.jsJonas Schmedtmann
Crystal ClearHas Snippet9/8/2025
Click the eye icon to reveal answer

Is it possible to have more than one return in a component?

Ultimate React & Next.jsJonas Schmedtmann
Clear9/8/2025
Click the eye icon to reveal answer

Why we can't use forEach instead of map when looping over some data?

Ultimate React & Next.jsJonas Schmedtmann
Clear9/7/2025
Click the eye icon to reveal answer

If we had an array of objects and we wanted to loop over it to create multiple components, how would we do it?

Ultimate React & Next.jsJonas Schmedtmann
ClearHas Snippet9/7/2025
Click the eye icon to reveal answer

Is there a difference between using Arrow function or Regular function in React?

Ultimate React & Next.jsJonas Schmedtmann
UnclearFlagged9/1/2025
Click the eye icon to reveal answer

Can you compare between SPA, SSR, and SSG?

Ultimate React & Next.jsJonas Schmedtmann
Getting ItFlagged9/1/2025
Click the eye icon to reveal answer

What are Hooks?

Ultimate React & Next.jsJonas Schmedtmann
Getting ItFlagged9/1/2025
Click the eye icon to reveal answer

What is Diffing and Reconciliation?

Ultimate React & Next.jsJonas Schmedtmann
Unclear9/1/2025
Click the eye icon to reveal answer

What is State in React?

Ultimate React & Next.jsJonas Schmedtmann
UnclearFlagged9/1/2025
Click the eye icon to reveal answer

How does Virtual DOM works in React? and compare it to Real DOM

Ultimate React & Next.jsJonas Schmedtmann
Clear9/1/2025
Click the eye icon to reveal answer

How is data handled in State vs Props?

Ultimate React & Next.jsJonas Schmedtmann
Getting ItFlagged9/1/2025
Click the eye icon to reveal answer