Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple&shared states #12

Open
hellozyemlya opened this issue Oct 24, 2024 · 0 comments
Open

Support multiple&shared states #12

hellozyemlya opened this issue Oct 24, 2024 · 0 comments

Comments

@hellozyemlya
Copy link

Sometimes, multiple views need to share same state, or use common(but view-bound) state alongside with view specific state.

It will be great to have an ability to share VSCodeWebviewBridge instance between multiple views, as well as have an ability to specify multiple "bridges" for view.

This will allow:

  • sync state between views
  • have better compositions in complex extensions with multiple views

ps: many thanks for interesting project, that is very close to what I wanted in my extension, and a good source of inspiration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant