You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: