
Creating a comprehensive agency management tool that rivals Notion's flexibility requires intense state management. The core challenge was building a hierarchical, block-based document editor combined with real-time collaboration. Any latency in typing, formatting, or creating nested workspaces across completely different user contexts would instantly ruin the experience.
I engineered a custom rich-text editing architecture optimized specifically for complex, nested DOM trees. To ensure real-time synchronization without race conditions, I implemented a robust interactive foundation utilizing advanced state merging. For local state management, I used Zustand to pinpoint updates and avoid massive React re-renders typically seen when manipulating thousands of draggable node elements.
Want similar results for your business?
Let's Talk →