Skip to content

MarkdownEditor should allow lazy-loading suggestions #2422

@iansan5653

Description

@iansan5653

In order to reduce API load and improve time-to-render, we want to lazy-load suggestions in Projects by waiting until the suggestions are actually needed before making the API request (see https://github.com/github/memex/issues/12396). The MarkdownEditor doesn't support this at the moment, so it would like require changing the props to accept functions instead of (or in addition to) the suggestion arrays.

I am already working on this; just opening an issue to track over here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions