mirror of https://github.com/buster-so/buster.git
- Memoize context values in AppMarkdownStreaming to prevent unnecessary re-renders - Extract component functions in useMarkdownComponents using useCallback to prevent recreation - Add cleanup logic in TokenizedText to clear animated chunks when streaming finishes - Fix missing isStreamFinished dependency in TokenizedText useMemo - Memoize animation styles in animation-helpers to prevent object recreation These changes address critical memory leak sources that were causing 2GB+ memory usage growth. Co-Authored-By: nate@buster.so <nate@buster.so> |
||
---|---|---|
.. | ||
api | ||
cli | ||
electric-server | ||
server | ||
trigger | ||
web | ||
tsconfig.json |