Skip to content

useHalResource return value update #45

@GomezIvann

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.

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