createRawSnippet for cell turns string into object?
i am using tanstack table and made a utility for creating snippets for rendering table cell content.
When i pass a string into the renderSnippet call and get it out in the createRawSnippet call it doesnt return a string anymore but an object where each indicie of the string is a numeric key in the object?
Example:
escapeHtml now fails at .replace because the "unsafe" variable looks like this now:
which is not a valid string.
why does this happen?
0 Replies