Skip to content

Extract React QueryPanel used in Trading Example into separate reusable component. #113

@agentofreality

Description

@agentofreality

In the Trading example https://github.com/drasi-project/drasi-server/tree/main/examples/trading, the React UI uses:

  • a QueryTable component to display the results of a specific Continuous Query
  • a shared component that handles the SSE connection back to the Drasi Server and muxes all active queries across the single connection and distributes the updates to the correct QueryTable.

We need these to be pulled out to be seperate reusable components and integrated into the trading app as if they are completely independent. The code can remain in the trading example folder for now, but it must be distinct from the app.
The extracted components should be designed for maximum reuse and come with full documentation and build instructions.

The example app must still function correctly as it did before the components where extracted. The scripts must work and the documentation must be updated to reflect the use of the sharde

Metadata

Metadata

Labels

No labels
No labels
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions