-
Notifications
You must be signed in to change notification settings - Fork 60
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
Improved Documentation for Building Clients #394
Comments
@tannerlinsley and I were just discussing this last week. We're interested in building an adapter for https://github.com/TanStack/table |
We're working on a React table client right now. When we're ready, would you like a PR to the main examples directory, or did you have something else in mind? |
For independent clients, it might make sense to maintain them separately and have a page with links similar to https://vega.github.io/vega-lite/ecosystem.html. |
@derekperkins can I maybe have a sneak peek somewhere? Very interested in how you approached this |
This. I'm looking for some examples in plain JS (but React would also be nice) to implement own Mosaic Clients. These Clients could be custom D3/Plot components or in React something like visx components. From what I understand this would only require the Anyone have any good examples of this? |
@matys1 I thought the Table input gave me a good idea on how to build a client, and in my React app I'm using this hook: #368 which you could hook up to visx |
@rickiesmooth I think creating a custom Client subclass itself is perhaps not the biggest problem for me. I was following this template: https://idl.uw.edu/mosaic/why-mosaic/#mosaic-is-extensible. However, I'm a bit confused how to properly manage Selections and Coordinator. I want to:
Right now 2. works but 1. doesn't. I wonder if its because the "active" clause is Client2. I opened an issue, maybe you can spot what I'm doing wrong: #437. It's a shame that all docs and examples are using this vgplot where I think most people looking at this library will want to just hook up their own custom D3/Plot/Visx components and just use this library as an optimized query coordinator for duckdb-wasm. |
Create documentation for developers who want to write their own client with React, Svelte, or plain JavaScript. Create example projects that they could use to get started.
The text was updated successfully, but these errors were encountered: