Uncaught TypeError: Cannot read properties of undefined (reading '_internalRoot')
const createDevToolDataObject = (filteredSnapshot, diff) => {
if (diff === undefined) {
return {
filteredSnapshot: filteredSnapshot,
componentAtomTree: formatFiberNodes(
recoilizeRoot._reactRootContainer._internalRoot.current,
),
};
} else {
return {
filteredSnapshot: filteredSnapshot,
componentAtomTree: formatFiberNodes(
recoilizeRoot._reactRootContainer._internalRoot.current,
),
indexDiff: diff,
};
}
};
React With single-spa
with the function:
same issue with
Originally posted by @adamdaly in #136 (comment)