Infinite Component Repeat for Rich Text
I 'm trying to build a rich text content paragraph for my application and I have implemented re -repeating of components (inspired by @Andreas Møller 's JSON viewer ) but I 'm stuck when it goes beyond a component repeating another one - the moment it goes 3 layers deep my implementation fails . I would appreciate some tips and assistance with this - as I do need a SSR rich paragraph element that can hold multiple styles and I 'm 95 % there but this is the last thing holding me back . Please see my project / branch here : https://editor.nordcraft.com/projects/crimson_boba_fett_satisfactory_bear/branches/start/components/HomePage?canvas-width=800&rightpanel=style&selection=nodes.root&canvas-height=800 Thanks for your help 🙏 dato-block It outputs clean HTML , no divception or anything 👍 { "type " : "paragraph " , "children " : [ { "type " : "bold " , "children " : [ { "type " : "italic " , "children " : [ { "type " : "underline " , "children " : [ { "text " : "styled text " } ] } ] } ] } ] } This makes more sense - there is a clear child tree for the nested rendering now . Thanks for your help !