
but in the REPL

Someone needs to figure out how Base Julia does it, i.e. go through what happens when you call
show(stdout, MIME"text/plain"(), Vector(undef, 3))
displaying data does a loop, which is failing; MVE:

I see why Pluto errors, but why wonder why show(stdout, MIME"text/plain"(), Vector(undef, 3)) _does not error_.
works fine cos it goes to base implementation which has checks for isassigned & isdefined. As expected, works fine in REPL too

where as

goes to
show(io::IO, ::MIME"application/vnd.pluto.tree+xml", x::AbstractArray{<:Any, 1}) ref
May be it needs isassigned/isdefined checks?
That sounds good!
this should help with https://github.com/fonsp/Pluto.jl/issues/354 too
No that's unrelated I think. missing is a valid Julia object, and Pluto can show [missing, missing] just fine
Fixed by @Moelf ! Yayo
Testset is here:
https://github.com/fonsp/Pluto.jl/pull/411/files#diff-57577b94ab5dc9eb946ef0662a875f1dR24
@Moelf

@fonsp fixed. issue was that we pass indices and x, so we no longer need to slice up x before passing.
Awesome, thanks!
Most helpful comment
Fixed by @Moelf ! Yayo
Testset is here:
https://github.com/fonsp/Pluto.jl/pull/411/files#diff-57577b94ab5dc9eb946ef0662a875f1dR24