This commit is contained in:
Mirco Wittrien 2020-07-30 14:47:13 +02:00
parent f126adaeed
commit 41c36b8bc2
2 changed files with 3 additions and 3 deletions

View File

@ -1485,13 +1485,13 @@
if (methodNames.includes("componentDidMount")) InternalBDFDB.initiateProcess(plugin, type, {
instance: instance,
methodname: "componentDidMount",
patchtypes: pluginData.patchTypes
patchtypes: Object.keys(pluginData.patchTypes)
});
if (methodNames.includes("render")) forceRender = true;
else if (!forceRender && methodNames.includes("componentDidUpdate")) InternalBDFDB.initiateProcess(plugin, type, {
instance: instance,
methodname: "componentDidUpdate",
patchtypes: pluginData.patchTypes
patchtypes: Object.keys(pluginData.patchTypes)
});
}
if (forceRender) BDFDB.ReactUtils.forceUpdate(instance);

File diff suppressed because one or more lines are too long