ChatGPT-Next-Web/app
Jun Wu 962f434e17 perf: memorize markdown rendering
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
2023-04-05 00:16:10 -07:00
..
api fix: #289 #367 #353 #369 provide more error message info 2023-04-02 19:14:53 +00:00
components perf: memorize markdown rendering 2023-04-05 00:16:10 -07:00
icons feat: optimize usage display 2023-04-03 12:18:04 +00:00
locales Merge pull request #434 from gaogao1030/optimize 2023-04-05 02:08:38 +08:00
store fix: #418 valid model config 2023-04-04 01:05:33 +08:00
styles feat: optimize usage display 2023-04-03 12:18:04 +00:00
constant.ts fix: #397 #373 Array.prototype.at polyfill errors 2023-04-03 13:29:37 +08:00
layout.tsx fix: add media query to theme-color, fix auto theme not updating theme-color 2023-04-03 16:24:59 +00:00
page.tsx fix: #397 #373 Array.prototype.at polyfill errors 2023-04-03 13:29:37 +08:00
polyfill.ts fix: #397 #373 Array.prototype.at polyfill errors 2023-04-03 13:29:37 +08:00
requests.ts fix: #418 valid model config 2023-04-04 01:05:33 +08:00
utils.ts fix: #366 use fallback copy 2023-04-03 03:27:42 +00:00