๐Ÿ“– Step 6: Development#436 / 498

React

React

๐Ÿ“–One-line summary

A JavaScript library for building UIs from reusable components that update as state changes.

โœจExample

// React (React)

ํ™”๋ฉด์„ ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ปดํฌ๋„ŒํŠธ๋กœ ๋‚˜๋ˆ  ๋งŒ๋“ค๊ณ  ์ƒํƒœ ๋ณ€ํ™”์— ๋”ฐ๋ผ UI๋ฅผ ๊ฐฑ์‹ ํ•˜๋Š” JavaScript ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ

> ready_

โšกVibe coding prompt examples

>_

Build a React to-do app with add, complete, delete, and filters (all/active/done), saved to localStorage.

>_

This component keeps re-rendering and is slow. Find the cause and apply only what's needed among useMemo, useCallback, and memo.

>_

Refactor this useEffect-heavy code following the React docs' 'You Might Not Need an Effect' guidance.

Try these prompts in your AI coding assistant!