Closed pke closed 10 months ago
@pke i did using stringToTokens
and tokensToAST
together and regulating how many nodes you want to render.
Could you maybe please provide a code snippet here. Maybe we could add such functionality into the library.
@pke sure. You can find it here. This is not a perfect solution, but it fixes performance problems for the most cases. And you can also try to render AST in a FlatList to get virtualizing.
Would it somehow be possible to render large markdown documents incrementally? Like a virtual list view but with markdown blocks in it?