Menu

Streamdown 1.6 is now available to run faster and ship less code - Vercel
📰
0

Streamdown 1.6 is now available to run faster and ship less code - Vercel

Vercel News·Hayden Bleasel·4 days ago
#qQsvlysT
Reading 0:00
15s threshold

Vercel Streamdown 1.6 is now available with major improvements to performance, bundle size, and the authoring experience. Streamdown now runs faster and ships less code thanks to memoization, LRU caching, optimized string operations, and the removal of regexes. Several product enhancements include: Code Blocks, Mermaid, and Math components are now lazy-loaded with React.lazy() and Suspense , only loading when used. The code highlighting system has been rebuilt with a new tokenization approach that’s simpler, more efficient, and includes line numbers. A custom markdown renderer replaces React Markdown , giving Streamdown a lighter core and more room for future optimizations. Static Mode adds support for rendering markdown without streaming, ideal for blogs and other static use cases as it reduces streaming overhead. Mermaid blocks now support custom error components for handling parsing issues.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More