Urql: Custom exchange examples

Created on 1 Jun 2019  路  3Comments  路  Source: FormidableLabs/urql

Are custom exchanges dependent on the wonka library? I'm having a hard time following that, since there is no documentation for that library.

documentation 馃摉 high priority 馃挜

Most helpful comment

Hiya, this is definitely one of our high-priority issues that we'll address as part of our ongoing effort to provide more documentation 馃憤

All 3 comments

Hi yeah I would love to see some examples on how to create custom exchanges, this feature sounds really interesting but I am still having a hard time thinking what kind of things we can build and how we can build them.

Thanks for all the great work!

Hiya, this is definitely one of our high-priority issues that we'll address as part of our ongoing effort to provide more documentation 馃憤

@alexraginskiy @juank11memphis Hiya :wave: We've just started writing guides on how to build custom exchanges! https://github.com/FormidableLabs/urql/blob/master/docs/guides.md

There's currently only one on writing an authentication exchange, but the guide also details on what to keep in mind when writing custom exchanges, which we call "The Rules of Exchanges".

Furthermore the wonka library now has its own documentation site, with sections on its architecture and basics and a very detailed API reference document. https://wonka.kitten.sh/

I'll close this for now, but please let me know if you have any more questions :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andyrichardson picture andyrichardson  路  4Comments

maxzhuk0v picture maxzhuk0v  路  3Comments

wodnjs6512 picture wodnjs6512  路  3Comments

kitten picture kitten  路  3Comments

davidhouweling picture davidhouweling  路  4Comments