-
Notifications
You must be signed in to change notification settings - Fork 0
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
[오혜성] 11장: Next.js 13과 리액트 18 #81
The head ref may contain hidden characters: "11\uC7A5/\uC624\uD61C\uC131"
Conversation
hyesungoh
commented
Feb 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!!!
> 🤘 책에서 2023년 5월 기준으로는 타입스크립트가 비동기 컴포넌트를 지원하지 않았다고 하는데 | ||
> 타입스크립트 5.1.3. @types/react 18.2.8 에서는 지원한다 합니다 | ||
> https://nextjs.org/docs/app/building-your-application/configuring/typescript#async-server-component-typescript-error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여러분들 타입스크립트 버전 어떤 거 쓰고 계셔요? 저희는 4.7.3?,,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저희도 4... 4.8.4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5.1.6...
> 🤘 실사용 코드보면서 저는 심적 표상을 잡는 편인데 ... | ||
> https://github.com/gabrielelpidio/next-infinite-scroll-server-actions | ||
> 이게 기억이 나 남겨봅니다.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오오옹
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* 이후에는 서버 사이드 렌더링과 서버 컴포넌트를 모두 채택하는 것도 가능해질 것 | ||
|
||
* 결론적으로 둘은 대체제가 아닌 상호보완하는 개념 | ||
+ 리액트 팀에서도 미래에는 두 가지 기법이 모두 쓰일 수 있는 가능성을 암시하고 있음 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
next 공식문서를 확인하지 않았지만 최초 로딩시에 dom을 내려주는것으로 보아 지금도 어느정도 같이 사용하는게 아닌가 예측중입니다!