relay-tools / relay-hooks

Use Relay as React hooks
https://relay-tools.github.io/relay-hooks/docs/relay-hooks.html
MIT License
540 stars 56 forks source link

added transient & added subscribeResolve in useOssFragment #170

Closed morrys closed 2 years ago

morrys commented 3 years ago

alternative implementation of https://github.com/relay-tools/relay-hooks/pull/169

@n1ru4l what do you think?

n1ru4l commented 3 years ago

@morrys Sorry for the delay, this looks fine with me. TO be honest, right now I don't really have a need for useTransientPagination and useTransientRefetchable. But maybe it might be handy for others!

Regarding the naming, I thought a bit more and useFragmentSubscription might be the best wording (@sibelius also agreed).

Really looking forward to these hooks as they will help me solve some problems I am facing 😇

n1ru4l commented 3 years ago

@morrys Hey, any update on this PR? can we merge it?

morrys commented 3 years ago

Hi @n1ru4l, in this period I have been very busy at work :/

As soon as possible I would like to release version 5.0.0 with this PR and ESM support.

morrys commented 2 years ago

@n1ru4l released with version 5.0.0 let me know if you find any problems :)