어렵다네.. 스택오버플로우 답변 보면 그냥 id만 넘기고 스토어 같은데서 id로 새로 받아오라고함 리덕스까지 안가고 contextapi로 충분하겠지?
So the solution in my case was to pass the ID in Link params and then check if my Store has the data (user accesses it via Link) and then getting this data from the Store.
So the solution in my case was to pass the ID in Link params and then check if my Store has the data (user accesses it via Link) and then getting this data from the Store.
리덕스 갈지 말지는 상태를 캐싱, 로딩, 에러, 확장성 등 체계적으로 상태관리 할건지로 판단하는게 맞는것 같고.. 단순히 객체 전달하는건 useNavicate/useLocation으로도 가능한걸로 보임