diff options
| author | netop://ウィビ <paul@webb.page> | 2026-04-24 17:57:26 -0700 |
|---|---|---|
| committer | netop://ウィビ <paul@webb.page> | 2026-04-24 17:57:26 -0700 |
| commit | 41eef08bc409ba2a5a49e7d785bd113da51bab23 (patch) | |
| tree | ce45faaafcded4e7b8de1154db5270203926c164 /source/library/runes.d.ts | |
| parent | 216441d3564e00aabfac7e8acf346e34a5db9598 (diff) | |
| download | graphiql-41eef08bc409ba2a5a49e7d785bd113da51bab23.tar.gz graphiql-41eef08bc409ba2a5a49e7d785bd113da51bab23.zip | |
Push value prop changes into Editor's CodeMirror state
Editor read the value prop once at mount and never reconciled later
mutations into the CodeMirror doc. Result viewer never showed query
output, format button output never reached the editor, and history
loads stayed invisible. Add an effect that diffs the doc against the
incoming value and dispatches a replacement transaction when they
differ — guard against the user-typing echo by skipping when they
already match.
Diffstat (limited to 'source/library/runes.d.ts')
0 files changed, 0 insertions, 0 deletions