thheller / thheller/shadow-cljs
View as EDN breaks on large data structure
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 2.4k
- Forks
- 192
- Avg merge
- 3h 11m
- Merged PRs (30d)
- 1
Description
Hi @thheller - thanks for your work on the Inspect feature. It is beautiful <3
Steps to Reproduce
- (tap> my-large-vector-of-maps-and-things) ;; ~6000 entities
- Inspect via shadow-cljs inspector
- Click on View as EDN
- Gets Stuck in "Loading..." state on the viewer
- Click on View as Browse and it loads the data again.
Potentially useful debugging data:
I see this error consistently in the console

Further Info:
- View as EDN works fine with smaller vectors with maps in them, etc.
Please let me know if I can provide any further info or help with tracking this down!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the shadow-cljs inspector with a vector of roughly 6000 entities, then inspect the console error shown in the report. Compare the View as EDN and View as Browse paths; done means the EDN viewer finishes loading the large structure instead of remaining stuck on "Loading...".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100