issues
search
woongteco
/
nextcamp-12t
0
stars
0
forks
source link
react-select 사용시 `id` not match 오류 발생
#46
Closed
callmebyneon
closed
1 week ago
callmebyneon
commented
1 week ago
react-select를 사용하여 ssr 환경에서 컴포넌트 렌더링시
id
속성이 맞지 않다는 오류 발생.
관련 내용:
https://github.com/JedWatson/react-select/issues/2629
해당 라이브러리를 사용한 Select common 컴포넌트 내에서 useId를 사용하여 uniqueId를 id와 instanceId로 지정
해결 방안 참고:
https://github.com/buildo/bento-design-system/pull/859
id
속성이 맞지 않다는 오류 발생.