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 |
||
---|---|---|
.. | ||
api | ||
components | ||
icons | ||
locales | ||
store | ||
styles | ||
constant.ts | ||
layout.tsx | ||
page.tsx | ||
polyfill.ts | ||
requests.ts | ||
utils.ts |