Skip to content

useHalResource return value update #45

Description

@GomezIvann

Right now, the useHalResource hook returns an array with the specific properties needed by the user. How about, instead of returning an array, returning an object so the user can destructure the returned value in the order he wants, just by knowing the name of the properties of this object? It should be easier than remembering the certain position of each of them inside the current array.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions