A Minimal Implementation of Paragraph Anchors and Comments
Inject stable anchors with rehype and connect them to Supabase for extensible paragraph-level comments.
Estimated reading time: 5 min read2 topics2 concepts
Read articleDiscover / Concept
Update the interface before server confirmation to provide faster feedback on comment interactions.
Definition
After a short comment is submitted, display it below the paragraph first, then confirm or roll back the update based on the server response.
Posts
Inject stable anchors with rehype and connect them to Supabase for extensible paragraph-level comments.
Topics