AlexanderSkrock / bpmn-react

Seemlessy integrate bpmn-js into your React application.
https://bpmn-react.projects.skrock.dev/
MIT License
0 stars 0 forks source link

Export useBpmnJsViewer hook #27

Closed AlexanderSkrock closed 2 weeks ago

AlexanderSkrock commented 2 weeks ago

Describe the solution you'd like

For the bpmn-js components we provide seperate React hooks such as useNavigatedViewer. Now, if a custom viewer implementation or configuration should be used, it would be great to have the base hook available, so our library can still do the integration with React. This functionality is already available with useBpmnJsViewer, which is currently not part of the public api.

AlexanderSkrock commented 2 weeks ago

Added breaking change label, because of relocated diagram related hooks.