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

[πŸ”§ Front-End Error] #5 / TypeError: Object(...) is not a function / 2021-09-29 #256

Open
mniYUNSU opened this issue Sep 29, 2021 · 0 comments
Assignees
Labels
Error Error Front-End Front-End Tasks
Milestone

Comments

@mniYUNSU
Copy link
Collaborator

μ–΄λ–€ μ—λŸ¬μΈκ°€μš”?

  • import μ—λŸ¬
  • useState, useEffect λ“± vscodeμ—μ„œ μžλ™ μ™„μ„±ν•΄μ£ΌλŠ” import μ½”λ“œκ°€ 'react/cjs/react.development'μ—μ„œ μž„ν¬νŠΈ λ˜μ–΄μžˆμ—ˆλ‹€.

μ—λŸ¬ λ©”μ‹œμ§€

  • TypeError: Object(...) is not a function.

μ—λŸ¬ 핸듀링 방법

import { useState } from 'react/cjs/react.development';

μœ„ μ½”λ“œλ₯Ό μ•„λž˜ μ½”λ“œλ‘œ λ°”κΎΈμ—ˆλ‹€.

import { useState } from 'react';

μ—λŸ¬ 핸듀링을 μœ„ν•΄ μ°Έκ³ ν•œ 레퍼런슀 링크

λΈ”λ‘œκ·Έ

@mniYUNSU mniYUNSU added Completed Task or Issue Completed Front-End Front-End Tasks Error Error labels Sep 29, 2021
@mniYUNSU mniYUNSU self-assigned this Sep 29, 2021
@mniYUNSU mniYUNSU changed the title [πŸ”§ Front-End Error] #1 / TypeError: Object(...) is not a function / 2021-09-29 [πŸ”§ Front-End Error] #5 / TypeError: Object(...) is not a function / 2021-09-29 Sep 29, 2021
@minjman2659 minjman2659 added this to the Advanced milestone Sep 29, 2021
@minjman2659 minjman2659 removed the Completed Task or Issue Completed label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Error Front-End Front-End Tasks
Projects
None yet
Development

No branches or pull requests

2 participants