Repository navigation
What is the point of using tunnel-rat for the commands? #460
Unanswered
kamyarkaviani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The slash command menu is rendered in the editor inside of a
tunnelInstance.Inand then rendered in the menu withCan someone please explain why tunnel rat is used here in this way? Is it just to prevent re-rendering the editor when the command opens and closes? Or is it because of the way
EditorCommandOutis rendered from the suggestion plugin somehow?Because it seems to me that you can just call
ReactRenderon the command component itself. What purpose does sending it through a rat tunnel serve?All reactions