-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Devtools/Extension improvements #62
Comments
I think we're probably in time for a good v0.1.0 release with some of these improvements in place! |
Yeah I got rid of the tests we had that all broke due to the redesign, might be good to bring them back |
I imagine this new pattern would make event tracking easier too? |
@ryangjchandler which events do you mean? The The general issue with extensions is that the devtools panel/app doesn't have direct access to the tabs directly so you need to run:
so it's always a bit annoying to do anything 😄 |
I think we would have to add something to Alpine Core to be able to monitor events registered from the component. Feels like something that should be done eventually anyway. |
I've thought about this again... the good thing about Alpine is that it uses native |
I've found https://github.com/single-spa/single-spa-inspector which has a simpler approach than we've currently got with regards to webpage -> devtools messaging.
Specifically:
Current Alpine.js devtools implementation is based on Vue devtools (https://github.com/vuejs/vue-devtools), which has a few layers of abstraction that we don't have at the moment, React devtools also have a similar approach (with a "bridge" concept, see https://github.com/facebook/react/tree/master/packages/react-devtools-extensions).
Finding other devtools implementations that plug straight into the chrome extension system would be useful to simplify the approach and reduce the risk of bugs relating to interactions with the browser/devtools.
The text was updated successfully, but these errors were encountered: