What problem does it solve?
React ์ ํ๋ฆฌ์ผ์ด์
์ UI๋ฅผ ํ์ด์ง-๋ ์ด์์ ์
ธ(Page, Compositor), ์๊ธฐ ์๊ฒฐ์ Feature ์ปดํฌ๋ํธ, ๋ก์ง ์ถ์ํ ๊ณ์ธต์ธ Hook์ผ๋ก ๊ตฌ์ฑํ๋ 3๊ณ์ธต ์ํคํ
์ฒ๋ฅผ ๊ฐ์ ํ๊ณ ๊ฐ์ด๋ํฉ๋๋ค. ์ด ๊ตฌ์กฐ๋ฅผ ํตํด ์ค๊ณ ์ผ๊ด์ฑ, ์ฝ๋ ๋ฆฌ๋ทฐ ํจ์จ์ฑ, ์ฌ์ฌ์ฉ์ฑ์ ๋์ด๊ณ ์ ๊ท ํ์์ด ๋น ๋ฅด๊ฒ ์จ๋ณด๋๋๋๋ก ๋์ต๋๋ค.
Core Features & Use Cases
- Page๋ Compositor ์ญํ ์ ๋งก์ ๋ ์ด์์๊ณผ ๋น๋๊ธฐ ๊ฒฝ๊ณ๋ง ๋ด๋นํ๊ณ , ๋ฐ์ดํฐ ํจ์นญ์ด๋ ๋น์ฆ๋์ค ๋ก์ง์ ํผํฉ๋๋ค.
- Feature Component๋ ์์ฒด Hook์ผ๋ก ๋ฐ์ดํฐ์ ์ํ๋ฅผ ์์ ํ์ฌ ๋
๋ฆฝ์ ์ผ๋ก ํ
์คํธยท์ด๋ยท์ญ์ ๊ฐ ๊ฐ๋ฅํฉ๋๋ค.
- Hook Layer๋ ๋ฐ์ดํฐ ํจ์นญ(useGet*), UI ์ํ(use*) ๋ฐ ์ฌ์ด๋ ์ดํํธ(use*Action)๋ก ์ญํ ๋ณ๋ก ๋ถ๋ฆฌ๋ฉ๋๋ค.
- Use Case: ์๋ก์ด ํ์ด์ง๋ฅผ ๋์
ํ ๋ Page-์ผ๊ด์ฑ ์ ์ง, ๊ฐ Feature์ ์ฌ์ฌ์ฉ์ฑ, ํ ๊ฐ ํ์
ํจ์จ์ ํ๋ณดํฉ๋๋ค.
Quick Start
Adopt the three-tier React architecture by designating a Page as the Compositor, self-contained Feature components, and a Hook layer for logic.