Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking โ€œSign up for GitHubโ€, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

๐Ÿ› ๏ธ ๋„คํŠธ์›Œํฌ ๋ถˆ์•ˆ์ • ํ† ์ŠคํŠธ ๋ฉ”์‹œ์ง€ ๊ด€๋ฆฌ #47

Merged
merged 17 commits into from
May 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
3419432
feat: react-query keys ์œ„์น˜ ์ด๋™
BangDori May 10, 2024
d16c55f
feat: ์ฟผ๋ฆฌ ํ‚ค ๊ด€๋ฆฌ ํŒŒ์ผ ๋ช… ์ˆ˜์ •
BangDori May 10, 2024
9b32d93
feat: queryClient shared ๊ด€๋ฆฌ
BangDori May 10, 2024
090bdf0
refactor: ๋„คํŠธ์›Œํฌ ์—๋Ÿฌ ํ† ์ŠคํŠธ ์ตœ์ƒ๋‹จ ์œ„์น˜
BangDori May 10, 2024
9901470
feat: ๋ชจ๋“  API ์—๋Ÿฌ์— ๋Œ€ํ•ด ํ† ์ŠคํŠธ ๋ฉ”์‹œ์ง€ ๋ Œ๋”๋ง
BangDori May 10, 2024
b161305
feat: ์ธํ„ฐ๋„ท์— ์—ฐ๊ฒฐ๋˜์ง€ ์•Š์„ ์‹œ, ํ† ์ŠคํŠธ ๋ฉ”์‹œ์ง€ ๋ Œ๋”๋ง X
BangDori May 10, 2024
207611d
feat: consts ํด๋”๋กœ ์ด๋™
BangDori May 10, 2024
7f7de75
feat: ์ฟผ๋ฆฌ ์—๋Ÿฌ ๋ฐ ํ† ์ŠคํŠธ ํ•ธ๋“ค๋Ÿฌ ํ•จ์ˆ˜ ๋ถ„๋ฆฌ
BangDori May 10, 2024
64e8ed7
feat: ํ† ์ŠคํŠธ ๋ฒ„ํŠผ ๋ฐ ํ”„๋กœ๊ทธ๋ ˆ์Šค๋ฐ” ์Šคํƒ€์ผ ์ˆ˜์ •
BangDori May 10, 2024
0a5cb52
feat: ํ† ์ŠคํŠธ ์ปจํ…Œ์ด๋„ˆ ์„ค์ • ์ˆ˜์ •
BangDori May 10, 2024
282bda0
feat: autoClose 3์ดˆ ์„ค์ •
BangDori May 10, 2024
48101d4
feat: handleQueryError ๋ฉ”์„œ๋“œ ์ˆ˜์ •
BangDori May 10, 2024
f7c1b94
feat: like mutation ์—๋Ÿฌ ํ† ์ŠคํŠธ ๋ฉ”์‹œ์ง€ ์ œ๊ฑฐ
BangDori May 10, 2024
39b90ff
feat: handleQuery ํŒŒ์ผ๋ช… ์ˆ˜์ •
BangDori May 10, 2024
9c5c126
feat: ์ฟผ๋ฆฌ ์„ฑ๊ณต ์‹œ ํ† ์ŠคํŠธ ๋ฉ”์‹œ์ง€ ์ œ๊ฑฐ
BangDori May 10, 2024
bfcb610
feat: handleQuery ์ฃผ์„ ์ˆ˜์ •
BangDori May 10, 2024
73449ea
feat: ์ข‹์•„์š” ๋ฒ„ํŠผ ๋น„ํ™œ์„ฑํ™” ์ƒ‰์ƒ ์ˆ˜์ •
BangDori May 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: handleQuery ํŒŒ์ผ๋ช… ์ˆ˜์ •
  • Loading branch information
BangDori committed May 10, 2024
commit 39b90ff4789acd19f48d8c1e1b602a5bb78896f3
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { Query, QueryKey } from '@tanstack/react-query';

import { showErrorHandler } from './toastHandlers';
import { removeErrorHandler, showErrorHandler } from './toastHandlers';

/**
* ์ฟผ๋ฆฌ ์„ฑ๊ณต ํ•ธ๋“ค๋Ÿฌ
*/
export function handleQuerySuccess() {
removeErrorHandler();
}

/**
* ์ฟผ๋ฆฌ ์—๋Ÿฌ ํ•ธ๋“ค๋Ÿฌ
2 changes: 1 addition & 1 deletion src/shared/react-query/dir/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './handleQueryError';
export * from './handleQuery';
export * from './toastHandlers';