forked from XiaoMo/ChatGPT-Next-Web
962f434e17
Markdown rendering can take time. Use `React.memo` for better performance. The improvement is especially visible if there are complex elements. For example, a `<Chat />` with an output of `如何推导三次方程求根方程?` (which uses latex) now renders in about 5ms, down from ~140ms. Related: #302 |
||
---|---|---|
.. | ||
button.module.scss | ||
button.tsx | ||
chat-list.tsx | ||
chat.module.scss | ||
chat.tsx | ||
error.tsx | ||
home.module.scss | ||
home.tsx | ||
markdown.tsx | ||
settings.module.scss | ||
settings.tsx | ||
ui-lib.module.scss | ||
ui-lib.tsx | ||
window.scss |