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

Split Mutate<T> into MutateWithVariables<T> and MutateWithoutVariables<T> for variables typesafety #141

Closed andrehsu closed 3 years ago

andrehsu commented 3 years ago

139

The type names are a bit long, but I felt this was better for clarity.

andrehsu commented 3 years ago

@morrys I've implemented the suggested changes

morrys commented 3 years ago

Perfect 💯