Skip to content
On this page

Reasons why Params on URL is the best State Management Tool

페이지의 상태를 별도의 내부 모듈이 아닌 URL query에 지정한다는 정말로 신박한(?) 방법을 설명합니다.

query parameter에 정보를 저장하면 url로 리소스를 공유할 수 있고 browser history에 url이 push되어 자동으로 상태관리 및 유지가 가능하다는 장점이 있습니다.

이 방식은 조건검색 기능을 구현할 때 유용합니다.

참고자료

Reasons why Params on URL is the best State Management Tool