JavaScript framework text splitter.
Splitting text by recursively look at characters.
Recursively tries to split by different characters to find one that works.
Text splitter that handles React (JSX), Vue, and Svelte code.
This splitter extends RecursiveCharacterTextSplitter to handle React (JSX), Vue,
and Svelte code by:
The splitter combines:
<Component, <div)This allows chunks to break at natural boundaries in React, Vue, and Svelte component code.