You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exposing an `action`prop from a component, you should `await` it inside the transition.
747
+
컴포넌트에서 `action`프로퍼티를 노출할 때는 transition 내부에서 `await`해야 합니다.
748
748
749
-
This allows the `action`callback to be either synchronous or asynchronous without requiring an additional `startTransition` to wrap the `await` in the action.
749
+
이렇게 하면 `action`콜백이 동기적이든 비동기적이든 상관없이 작동할 수 있으며, action 내부의 `await`를 추가적인 `startTransition`으로 감쌀 필요가 없습니다.
0 commit comments