Skip to content

Fix typo#10

Merged
vilkinsons merged 1 commit intohashintel:masterfrom
teenoh:patch-1
Jun 22, 2021
Merged

Fix typo#10
vilkinsons merged 1 commit intohashintel:masterfrom
teenoh:patch-1

Conversation

@teenoh
Copy link
Copy Markdown
Contributor

@teenoh teenoh commented Jun 22, 2021

No description provided.

@vilkinsons vilkinsons merged commit 633b912 into hashintel:master Jun 22, 2021
@vilkinsons
Copy link
Copy Markdown
Member

Thanks, Valentino! Much appreciated.

kube added a commit that referenced this pull request Apr 15, 2026
AI review fixes:
- #10 Stacked data recomputed on every render — wrap data in useMemo
  keyed on revision/chartType/hiddenPlaces. The component opts out of
  React Compiler ("use no memo"), so without manual memoization the
  expensive buildStackedData ran on every playback frame even though
  Effect 3 only consumes it on revision changes
- #11 Removed redundant store.length === 0 check inside the chart
  creation effect. The parent (SimulationTimelineContent) already gates
  on store.length === 0 and renders a "No simulation data" message, so
  UPlotChart only mounts when data exists. Comment clarifies the contract.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants