Migrate update step changes to diff (#14663)
This PR should fix optimistic rendering issues on step updates: - compute a diff for trigger and steps on mutations - build an util that applies that diff (built a more robust version from https://github.com/AsyncBanana/micropatch) - apply diff in cache
This commit is contained in:
@@ -37,7 +37,7 @@ export const getStepDefinitionOrThrow = ({
|
||||
|
||||
const selectedNodePosition = findStepPosition({
|
||||
steps,
|
||||
stepId: stepId,
|
||||
stepId,
|
||||
});
|
||||
if (!isDefined(selectedNodePosition)) {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user