Comments (3)
Ok, so there is a different problem that I didn't think of—loading the debugger by injecting a script tag effectively loads a second solid runtime on the page.
This may be a problem, or maybe it won't—it depends if the debugger at any point will need to interact with the application's solid runtime. For example:
- when users want to register their own plugin. Or interact in any way with it.
- when the debugger would need to use some of solid's primitives to get information out of the application graph.
It would be great to be able to just install the extension and that's it, but I think we're stuck with an npm library approach. It's not that bad though.
In the future, we might go in a different direction, that provided a similar experience—there are couple of core solid members that would be happy to add the debugger to solid-start or even solid itself.
from solid-devtools.
So in regards to the use of components on the target application, would it now allow users to debug by running the and components side by side if users no longer need to warp the application?
For instance, previously we needed to and have debugComponent() invoked inside the application to access updated root data for debugging purposes. With this new update, could we just do to access root data now? (I attached some screenshots below to show what I am referring to)
from solid-devtools.
I'm closing this for now, as this isn't the direction I'll be going currently.
from solid-devtools.
Related Issues (20)
- `autoname` could be using parent function names for effects
- `autoname` doens't generate a name if options object is present HOT 1
- Firefox extension HOT 8
- E2E tests
- Load debugger with the content-script
- Solid not detected after following instructions HOT 1
- Error - No matching export in "node_modules/solid-js/web/dist/dev.js" for import "isDev" HOT 2
- No results in Chrome under Linux HOT 2
- Overlay not work HOT 4
- Collapse
- Support Solid 1.7 HOT 2
- Use the browser extension to inject `<script type="module" src="/__solid-devtools"></script>` HOT 9
- webpack support HOT 4
- Followed instructions on solid start repository, does not work HOT 1
- Source maps not working with solid-devtools installed
- Cleanup location attributes
- Not working in Macos Chrome/brave HOT 3
- Getting a MIME type error HOT 5
- Black text over a black background in DevTools Overlay graph view HOT 2
- unknown name for context provider and component when used arrow function HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solid-devtools.