getMarkdown and getHTML should just accept a doc, not the full state. #2212
Unanswered
SebastianStehle
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
getMarkdown and getHTML should just accept a doc, not the full state. It also does not anything else.
The reason is that when you want to listen to changes, e.g. in a effect you only need the doc. The selection does not really matter for the output. So you either have a to dependency list that does not match or you create a dummy state.
e.g.
or
Beta Was this translation helpful? Give feedback.
All reactions