--- '@reactflow/core': patch --- Export the useNodeId hook, refactor how changes are applied and create a helper function