How to Use `partialize` to Select What to Save and `merge` to Safely Restore Nested Objects in Zustand's persist Middleware | DEV BAK - 기술블로그