When will a tag function receive multiple chunks #4475
Replies: 2 comments 1 reply
-
That typically happens in rich text context, where you can have something like |
Beta Was this translation helpful? Give feedback.
-
Thanks for responding. Two follow-up questions.
For |
Beta Was this translation helpful? Give feedback.
-
When will a tag function receive multiple chunks?
In my testing even when the content has an embedded message or other tag function each tag function still receives a single chunk; unless I'm doing something wrong in my testing..
When there are multiple chunks, what is the recommended way to combine them? For now I'm joining with
chunks.join('')
.One of my tag functions:
Message
Beta Was this translation helpful? Give feedback.
All reactions