Skip to content

perf(client): lazy load pages and trim graph bundle#4

Merged
ZengLiangYi merged 2 commits into
mainfrom
codex/client-lazy-load-graph
Apr 16, 2026
Merged

perf(client): lazy load pages and trim graph bundle#4
ZengLiangYi merged 2 commits into
mainfrom
codex/client-lazy-load-graph

Conversation

@ZengLiangYi
Copy link
Copy Markdown
Owner

Summary

This PR improves the client-side loading path and trims bundle weight for the graph and markdown experiences.

  • lazy-load the main route pages behind a shared suspense fallback
  • split the force-graph runtime into a lazy RelationGraphCanvas component
  • replace react-syntax-highlighter with native <pre><code> rendering
  • remove the related client dependencies from client/package.json and package-lock.json
  • update CHANGELOG.md so these client changes are included in the planned 0.4.6 release notes

Validation

  • npm run build -w client

Release Note

This change is intended to ship as part of 0.4.6.

@ZengLiangYi ZengLiangYi merged commit 6f65d0c into main Apr 16, 2026
@ZengLiangYi ZengLiangYi deleted the codex/client-lazy-load-graph branch April 16, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant