인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

이지수's profile image
이지수

asked

Create your own blog with React (MERN Stack)

(07) MongoDB Modeling(2)

ref에 대해 질문드립니다

Written on

·

235

0

user.js 에서 posts는 ref를 posts 라고 주고

category.js에서 posts는 ref 를 post로 주셨는데 왜 그렇게 하셨나요?

그리고 posts라고 명시한게 없는데 posts로 줘도 상관없나요?

mongodbreduxbootstrapexpressnodejsreact

Answer 2

1

ssaple님의 프로필 이미지
ssaple
Instructor

https://www.inflearn.com/questions/70719

지수님 의견이 맞습니다. post로 통일해야 합니다. 제가 수정한다는게 깜빡했네요. 죄송합니다. ㅠㅠ

0

이지수님의 프로필 이미지
이지수
Questioner

아하 실수하신거군요 답변 감사합니다!

이지수's profile image
이지수

asked

Ask a question