fix: memoize components and improve performance (#579)

This commit is contained in:
Jeremy 2024-12-03 17:49:38 +03:00 committed by GitHub
parent a13368cfcd
commit e839007580
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 453 additions and 232 deletions

View file

@ -9,7 +9,7 @@ interface BlockStreamHandlerProps {
streamingData: JSONValue[] | undefined;
}
export function PureBlockStreamHandler({
function PureBlockStreamHandler({
setBlock,
streamingData,
}: BlockStreamHandlerProps) {