We identified a UI flicker caused by unnecessary re-renders of the Markdown component during parent component updates. By wrapping the Markdown component in React.memo and hoisting the component definitions outside the render cycle, we've stabilized the rendering process. This ensures a smoother reading experience throughout the application. React state optimization