๐ React is โvalue UIโ
์ด๋ฏธ ๋ง์ ๋ถ๋ค์ด ์ฝ์ด๋ณด์ จ์ โReact ๋ ๋๋ฉ ๋์์ ๋ํ (๊ฑฐ์) ์๋ฒฝํ ๊ฐ์ด๋โ๋ฅผ ์ ๋ ์ฝ์ด๋ณด๋ ์ค์ ๋๋ค. ์ด์ ์ ์ ์ฝ๋ค๊ฐ ๋ง์๋๋ฐ ์ค๊ฐ์ฏค Dan Abramov์ ํธ์์ ์ธ์ฉํ๋ ๋ถ๋ถ์ด ์ธ์ ๊น๋ค์. ๋ฆฌ์กํธ๋ UI๋ฅผ ๊ฐ์ผ๋ก ๋ค๋ฃจ๊ธฐ ์ํ ๋ฐฉ๋ฒ์ด๋ผ๋ ์ฌ์ค์ด ๋น์ฐํ๋ค ์๊ฐํ๋ฉด์๋ ์๋กญ๊ฒ ์๋ฟ์ต๋๋ค. - ๋ฆฌ์กํธ๋ "๊ฐ UI"์ ๋๋ค. ๊ทธ๊ฒ์ ํต์ฌ ์์น์ UI๊ฐ ๋ฌธ์์ด์ด๋ ๋ฐฐ์ด๊ณผ ๋ง์ฐฌ๊ฐ์ง๋ก ๊ฐ์ด๋ผ๋ ๊ฒ์ ๋๋ค. ๋ณ์์ ์ ์ฅํ๊ณ , ์ ๋ฌํ๊ณ , ์๋ฐ์คํฌ๋ฆฝํธ ์ ์ด ํ๋ฆ์์ ์ฌ์ฉํ ์ ์์ต๋๋ค. ๊ทธ ํํ๊ฐ๋ฅํจ์ด ์์ ์ ๋๋ค. DOM์ ๋ณ๊ฒฝ ์ฌํญ์ ์ ์ฉํ๋ ๊ฒ์ ํผํ๊ธฐ ์ํ ๋น๊ต ๊ฐ์ ๊ฒ์ด ์๋๋๋ค. - React is โvalue UIโ. Its core principle is that UI is a value, just like a string or an array. You can keep it in a variable, pass it around, use JavaScript control flow with it, and so on. That expressiveness is the point โ not some diffing to avoid applying changes to the DOM.