Skip to content

[Feature Request]: Make RenderableDocument codable #154

Description

@icodesign

Why?

MarkdownView requires markdown parsing when using in a list (using as a single view is fine). Markdown parsing is called every time when the cell/row is reused and it's heavy. This is a perf issue.

Workaround

Current workaround to mitigate is to use a in-memory cache for RenderableDocument.

Suggestions

We can move a step forward and make RenderableDocument conform to Codable protocol. In that way, we can parse ahead and store it wherever we want (e.g. database).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    need_more_infoNeed more information from issue creator.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions