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
Copy file name to clipboardExpand all lines: .vitepress/data/posts.ts
+9-36Lines changed: 9 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,15 @@ export interface Post {
13
13
}
14
14
15
15
exportconstposts: Post[]=[
16
+
{
17
+
"url": "/posts/React/react-toastify",
18
+
"frontmatter": {
19
+
"title": "react-toastify 는 어떻게 리액트 렌더링사이클 밖에서도 토스트를 띄울수 있을까?",
20
+
"createdAt": "2025-09-21T00:00:00.000Z",
21
+
"category": "React",
22
+
"description": "리액트에서 상태 관리와 렌더링은 보통 컴포넌트 내부의 state, props를 통해 이루어진다. 그런데 진짜 실무에서는 \"리액트 컴포넌트 바깥\"에서, 즉 비동기 로직이나 이벤트 핸들러, API 응답 등 어디서든 토스트(알림)를 띄우고 싶을 때가 많다. 어떻게 그게 가능할까?"
0 commit comments