hiebj / stately

elegant, type-safe state management
2 stars 1 forks source link

feature: Ajax/Fetch, GraphQL, and WebSocket components #9

Open hiebj opened 6 years ago

hiebj commented 6 years ago

<Async> could easily be extended to handle well-known request types. For example:

<Fetch url={} options={} />

or from RxJS

<Ajax ... />

GraphQL would be very useful, accepting a GQL query and endpoint location.

These specific request-type components could possibly also be prewired with io-ts or something.