fix(onLoad): use project and getElements in combination with RFPovider closes #285
This commit is contained in:
@@ -604,7 +604,7 @@ const TransformUpdater = ({ x, y, zoom }) => {
|
||||
});
|
||||
```
|
||||
|
||||
If you need more control you can wrap the `ReactFlow` component with the `ReactFlowProvider` component in order to be able to call `useStoreState` outside of the `ReactFlow` component.
|
||||
If you need more control you can wrap the `ReactFlow` component with the `ReactFlowProvider` component in order to be able to call `useStoreState` and `useStoreActions` outside of the `ReactFlow` component.
|
||||
|
||||
# Examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user