Rupic
Log in
assistant-ui/assistant-ui
Issue #7662Closed

react-streamdown: code blocks keep the previous highlighter when components change without new text

Opened 2026-09-17 11:34:25Updated 2026-09-21 10:07:38Bug

Timeline

  1. 11:34
    Issue #7662 opened

    2026-09-17 11:34:25

  2. 11:37
    AnalysisDone

    2026-09-17 11:37:47

  3. 11:43
    Deep analysisDone

    2026-09-17 11:43:11

  4. 11:43
    Fix decisionDone

    2026-09-17 11:43:11 · Dispatched

  5. 12:00
    PR #7664 opened

    2026-09-17 12:00:04

  6. 12:00
    FixDone

    2026-09-17 12:00:04

  7. 12:00
    ReviewSkipped

    2026-09-17 12:00:06 · Pr draft

  8. 12:00
    Slack mirrorDone

    2026-09-17 12:00:30 · 187ms

  9. 09:11
    PR #7846 opened

    2026-09-21 09:11:25

  10. 09:11
    Slack mirrorDone

    2026-09-21 09:11:33 · 74ms

  11. 09:11
    Slack mirrorDone

    2026-09-21 09:11:52 · 69ms

  12. 09:12
    Slack mirrorDone

    2026-09-21 09:12:02 · 79ms

  13. 09:12
    Slack mirrorDone

    2026-09-21 09:12:39 · 78ms

  14. 09:13
    Slack mirrorDone

    2026-09-21 09:13:14 · 69ms

  15. 09:13
    Slack mirrorDone

    2026-09-21 09:13:29 · 149ms

  16. 09:13
    Slack mirrorDone

    2026-09-21 09:13:51 · 209ms

  17. 09:14
    Slack mirrorDone

    2026-09-21 09:14:53 · 84ms

  18. 09:15
    Slack mirrorDone

    2026-09-21 09:15:26 · 74ms

  19. 09:22
    Slack mirrorDone

    2026-09-21 09:22:30 · 65ms

  20. 09:24
    Slack mirrorDone

    2026-09-21 09:24:32 · 142ms

  21. 09:24
    Slack mirrorDone

    2026-09-21 09:24:50 · 79ms

  22. 09:25
    Slack mirrorDone

    2026-09-21 09:25:57 · 69ms

  23. 09:29
    Slack mirrorDone

    2026-09-21 09:29:39 · 61ms

  24. 09:40
    Slack mirrorDone

    2026-09-21 09:40:58 · 148ms

  25. 09:41
    Slack mirrorDone

    2026-09-21 09:41:22 · 156ms

  26. 09:42
    ScanDone

    2026-09-21 09:42:19 · Clean · Pr scan

  27. 09:42
    Slack mirrorDone

    2026-09-21 09:42:20 · 65ms

  28. 09:51
    Review round 1Merge as is

    2026-09-21 09:51:47

  29. 09:52
    Slack mirrorDone

    2026-09-21 09:52:01 · 80ms

  30. 10:07
    Issue #7662 closed

    2026-09-21 10:07:38

  31. 10:07
    Slack mirrorDone

    2026-09-21 10:07:46 · 425ms

  32. 10:07
    Slack mirrorDone

    2026-09-21 10:07:49 · 77ms

  33. PR fixPending
  34. PR fixPending

Pull requests · 2

PR #7664ClosedClosesUpdated 2026-09-17 12:00:23

fix(react-streamdown): refresh code adapters when components change (#7662)

rupic/fix-7662-0831694021885 files

0 review rounds

Premise probe·Premise reproduced·pnpm exec vitest run src/__tests__/issue-7662-probe.test.tsx --config vitest.config.ts
PR #7846MergedClosesUpdated 2026-09-21 10:07:42

fix(react-streamdown): reach settled code blocks when adapter components change

fix/streamdown-code-adapter-context3901059 files

Verdict: Merge as is · 1 review round

settled code adapters update without remounting

Possibly related

#7082fix(react-streamdown): render user pre and code components through the code adapterMergedSimilar
Powered by Rupic