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

[🚨BUG] ν™ˆνŽ˜μ΄μ§€μ—μ„œ μ• λ‹ˆλ©”μ΄μ…˜μ΄ κ°„ν—μ μœΌλ‘œ μ‹€ν–‰λ˜μ§€ μ•ŠλŠ” 였λ₯˜ #72

Open
otcroz opened this issue Jul 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@otcroz
Copy link
Member

otcroz commented Jul 25, 2024

버그 μ„€λͺ…
ν™ˆνŽ˜μ΄μ§€μ—μ„œ μ• λ‹ˆλ©”μ΄μ…˜μ΄ κ°„ν—μ μœΌλ‘œ μ‹€ν–‰λ˜μ§€ μ•ŠλŠ” 였λ₯˜μž…λ‹ˆλ‹€.
ν™ˆνŽ˜μ΄μ§€μ— 처음 μ ‘μ†ν–ˆμ„ λ•Œ, νŽ˜μ΄μ§€μ—μ„œ 슀크둀 μ• λ‹ˆλ©”μ΄μ…˜μ΄ μ‹€ν–‰λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.
원인을 μ‚΄νŽ΄λ΄€μ„ λ•Œ, μ• λ‹ˆλ©”μ΄μ…˜μ„ μ‹€ν–‰μ‹œν‚€λŠ” scopeλ₯Ό μΈμ‹ν•˜μ§€ λͺ»ν•˜λŠ” 였λ₯˜μ˜€μŠ΅λ‹ˆλ‹€.
image

사진은 ν™ˆνŽ˜μ΄μ§€μ—μ„œ μ• λ‹ˆλ©”μ΄μ…˜μ΄ μ‹€ν–‰λ˜μ§€ μ•Šμ•˜μ„ λ•Œ μ½˜μ†”μ— μ°νžˆλŠ” 둜그λ₯Ό μΊ‘μ³ν–ˆμŠ΅λ‹ˆλ‹€.

버그 μž¬ν˜„

  1. ν™ˆνŽ˜μ΄μ§€ μ ‘μ†ν•œλ‹€.

  2. μ• λ‹ˆλ©”μ΄μ…˜μ΄ μ‹€ν–‰λ˜μ§€ μ•ŠμŒμ„ 확인할 수 μžˆλ‹€.

  3. λ§ˆμ΄νŽ˜μ΄μ§€μ— μ ‘μ†ν–ˆλ‹€κ°€ ν™ˆνŽ˜μ΄μ§€λ‘œ μ΄λ™ν•œλ‹€.

  4. μ• λ‹ˆλ©”μ΄μ…˜μ΄ 잘 μ‹€ν–‰λœλ‹€.

@otcroz
Copy link
Member Author

otcroz commented Aug 9, 2024

πŸš¨μ• λ‹ˆλ©”μ΄μ…˜μ΄ κ°„ν—μ μœΌλ‘œ μ‹€ν–‰λ˜μ§€ μ•Šμ•˜λ˜ 이유

  • λ¦¬μ•‘νŠΈ μ»΄ν¬λ„ŒνŠΈ return λ¬Έμ—μ„œ 쑰건문 λ•Œλ¬Έμ— λ°œμƒν•œ 였λ₯˜μ˜€λ˜ 것이닀.
  1. 이전 μ½”λ“œ
    μ΅œμƒμœ„ μ»΄ν¬λ„ŒνŠΈμ— 쑰건문을 μ£Όμ—ˆκΈ° λ•Œλ¬Έμ— 10개의 λ¬Έμž₯을 getν•˜λŠ” APIκ°€ 호좜될 λ•ŒκΉŒμ§€ μ»΄ν¬λ„ŒνŠΈκ°€ μƒμ„±λ˜μ§€ μ•ŠλŠ”λ‹€.
    즉, μ»΄ν¬λ„ŒνŠΈκ°€ 아직 λ Œλ”λ§λ˜μ§€ μ•Šμ€ μƒνƒœμ—μ„œ selectorλ₯Ό μ‚¬μš©ν•˜μ—¬ μ»΄ν¬λ„ŒνŠΈλ₯Ό λΆˆλŸ¬μ˜€μ§€ λͺ»ν•˜κ²Œ λ˜μ—ˆκ³ ,
    μ• λ‹ˆλ©”μ΄μ…˜μ΄ λ™μž‘ν•˜μ§€ μ•Šκ²Œ λœλ‹€.
    return (
        !tenQuoteQuery.isLoading  && tenQuoteQuery.data &&
        <>
            <Background>
                {RandomFlowTextFuxc()}
  1. 이후 μ½”λ“œ
    RandomFlowTextFuxc()에 λŒ€ν•΄μ„œλ§Œ 쑰건을 μ„€μ •ν•˜μ—¬ μ»΄ν¬λ„ŒνŠΈμ˜ λ Œλ”λ§μ΄ 쿼리에 μ˜μ‘΄ν•˜μ§€ μ•Šλ„λ‘ λ³€κ²½ν–ˆλ‹€.
    return (
        <>
            <Background>
                {!tenQuoteQuery.isLoading  && tenQuoteQuery.data && RandomFlowTextFuxc()}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant