dockview icon indicating copy to clipboard operation
dockview copied to clipboard

Request: Export utilities

Open atox996 opened this issue 6 months ago • 1 comments

Hello 👋

Currently, dockview-core internally uses some useful utilities that are not exported:

These are very handy for managing event listeners and disposables in external integrations or custom extensions of dockview.

Feature Request Please consider exporting these utilities so they can be reused by external consumers of dockview-core.

Benefits

  • Encourages consistency with the internal patterns already used by dockview-core.
  • Reduces the need for users to reimplement similar disposable management logic.
  • Makes it easier to write clean and maintainable extensions.

Thanks for considering! 🙏

atox996 avatar Aug 18 '25 04:08 atox996

A couple of the utility methods are exposed here but with slightly different names to avoid conflicts as they are common patterns seen across many codebases. For example you can see a usage in the dockview-react extension here.

Let me know if that helps.

mathuo avatar Aug 22 '25 21:08 mathuo