We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Icon 컴포넌트와 함께 Link 컴포넌트를 사용할 때 ref를 전달해줄 수 없다는 경고가 발생하네요!!
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
원래는 InternalLink 컴포넌트를 사용하다 발생한 경고라, 디버깅해보고 forwardRef를 InternalLink에 적용도 해보았는데 똑같더라구요 !
아마 Svg 컴포넌트를 forwardRef와 함께 사용하면 해결될 듯 합니다!
Svg
forwardRef
관련 아티클과 삽질기 공유 드릴게요!!
일단 경고라 무시하고 개발해도 좋아용
The text was updated successfully, but these errors were encountered:
hyesungoh
No branches or pull requests
설명
Icon 컴포넌트와 함께 Link 컴포넌트를 사용할 때 ref를 전달해줄 수 없다는 경고가 발생하네요!!
아마
Svg
컴포넌트를forwardRef
와 함께 사용하면 해결될 듯 합니다!관련 아티클과 삽질기 공유 드릴게요!!
The text was updated successfully, but these errors were encountered: