Closed ddx-510 closed 6 months ago
I managed to resolve this by making the root have a key 'root' instead of the getUniqueKey() and for each ast node, use Type + tokenIndex to avoid remounting issues.
https://www.npmjs.com/package/@ddx0510/react-native-markdown-display
The root layout has a unique key which makes the whole component remounting each time outer layer changes