docs(claude-md): record react-plotly.js v4 ref change and local-build version gotchas#57
Merged
Merged
Conversation
… version gotcha - v4 ref points at the graph div directly (v2 was instance.el); use getPlotEl() = `plotRef.current?.el ?? plotRef.current`. Direct .el access breaks crosshair / coordinate readout / zoom detection. - local electron:build:win bakes package.json's pinned 2.3.1 into the EXE label since tag-version injection only happens in release.yml. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BL1jdGKYgu4YKDQ8KJVGKX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
今セッションの学びを CLAUDE.md に記録。
instance.el)。getPlotEl()=plotRef.current?.el ?? plotRef.currentで両対応。直アクセスすると crosshair/座標表示/ズーム検知が全滅(fix: resolve plot graph div for react-plotly.js v4 ref change #55 の回帰の原因)。既存の陳腐化記述(plotRef.current?.el.on(...))も更新npm run electron:build:winはタグ注入を経ないため EXE ラベルが package.json 固定値(2.3.1)になる。正しい版は必ずタグ push → release.yml で生成🤖 Generated with Claude Code