@nine-lab/nine-mu 0.1.371 β†’ 0.1.372

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nine-lab/nine-mu",
3
- "version": "0.1.371",
3
+ "version": "0.1.372",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -142,25 +142,15 @@ class NineExceptionHook extends React.Component {
142
142
  }
143
143
  }
144
144
 
145
- // ==========================================
146
- // 🎯 3. 핡심: μ‚¬μš©μžκ°€ ν•œ μ€„λ‘œ μ“°κ²Œ λ§Œλ“€ 톡합 λ§ˆμŠ€ν„° μ—”μ§„
147
- // ==========================================
148
- // ⭐ κ°€μž₯ ν™•μ‹€ν•œ μ»¨ν…μŠ€νŠΈ λ‹€μ΄λ ‰νŠΈ μ£Όμž… 버전 (μ—λŸ¬ μ›μ²œ 차단)
149
145
  export function NineHook({ children, onCatch, fallback, styles, containerStyle }) {
150
- const [activeView, setActiveView] = useState('list-wrapper');
151
- const [selectedData, setSelectedData] = useState(null);
152
-
153
- const goto = (selector, data) => {
154
- setActiveView(selector);
155
- if (data) setSelectedData(data);
156
- };
157
-
146
+ // μ‚¬μš©μžλŠ” 무쑰건 이거 ν•˜λ‚˜λ§Œ μ“°λ©΄ 끝!
147
+ // λ‚΄λΆ€μ μœΌλ‘œ μƒνƒœ(ScreenProvider)λ₯Ό λ¨Όμ € μ£Όμž…ν•˜κ³ , κ·Έ μ•ˆμ—μ„œ μ—λŸ¬(NineExceptionHook)κ°€ μžμ‹λ“€μ„ κ°μ‹Έμ•ˆμ•„ λ³΄ν˜Έν•©λ‹ˆλ‹€.
158
148
  return React.createElement(
159
- NineExceptionHook,
160
- { onCatch, fallback, styles, containerStyle },
149
+ ScreenProvider,
150
+ null,
161
151
  React.createElement(
162
- ScreenContext.Provider,
163
- { value: { activeView, selectedData, goto } },
152
+ NineExceptionHook,
153
+ { onCatch, fallback, styles, containerStyle },
164
154
  children
165
155
  )
166
156
  );