Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance fixes. Memoize block calculation #264

Merged
merged 2 commits into from
Jun 1, 2024
Merged

Conversation

richardgill
Copy link
Contributor

@richardgill richardgill commented Jun 1, 2024

Performance improvements: use React.memo to avoid recalculating blocks

Copy link

vercel bot commented Jun 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
llm-ui-www ✅ Ready (Inspect) Visit Preview Jun 1, 2024 11:58am

Copy link

changeset-bot bot commented Jun 1, 2024

🦋 Changeset detected

Latest commit: fc1e9a6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@llm-ui/react Patch
@llm-ui/code Patch
@llm-ui/csv Patch
@llm-ui/json Patch
@llm-ui/markdown Patch
@llm-ui/shared Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Jun 1, 2024

Your pull request has been published to npm.

You can install @llm-ui/react by running:

npm install @llm-ui/react@0.0.0-alpha.veeeb9d6aa860601d0e0a816a7e808184f11f0ee9

[Pull request has been updated, please wait for latest changes to be pushed to npm...]

@richardgill richardgill merged commit 7f81520 into main Jun 1, 2024
7 checks passed
@richardgill richardgill deleted the perf-fixes branch June 1, 2024 12:01
richardgill added a commit that referenced this pull request Jun 1, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @llm-ui/code@0.13.3

### Patch Changes

- Updated dependencies
\[[`7f81520`](7f81520)]:
    -   @llm-ui/react@0.13.3
    -   @llm-ui/shared@0.13.3

## @llm-ui/csv@0.13.3

### Patch Changes

- Updated dependencies
\[[`7f81520`](7f81520)]:
    -   @llm-ui/react@0.13.3
    -   @llm-ui/shared@0.13.3

## @llm-ui/json@0.13.3

### Patch Changes

- Updated dependencies
\[[`7f81520`](7f81520)]:
    -   @llm-ui/react@0.13.3
    -   @llm-ui/shared@0.13.3

## @llm-ui/markdown@0.13.3

### Patch Changes

- Updated dependencies
\[[`7f81520`](7f81520)]:
    -   @llm-ui/react@0.13.3

## @llm-ui/react@0.13.3

### Patch Changes

- [#264](#264)
[`7f81520`](7f81520)
Thanks [@richardgill](https://github.com/richardgill)! - Performance
improvements: use `React.memo` to avoid recalculating blocks

## @llm-ui/shared@0.13.3

### Patch Changes

- Updated dependencies
\[[`7f81520`](7f81520)]:
    -   @llm-ui/react@0.13.3

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant