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
It would be useful (if there are no complications involved) to add the element attribute of the route object to the properties of the items returned by the useMatches hook - it currently (v 6.23) has this shape : { id, pathname, data, params, handle, }
In my scenario, I wanted to inspect the props of the element.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It would be useful (if there are no complications involved) to add the
element
attribute of the route object to the properties of the items returned by theuseMatches
hook - it currently (v 6.23) has this shape :{ id, pathname, data, params, handle, }
In my scenario, I wanted to inspect the props of the element.
Beta Was this translation helpful? Give feedback.
All reactions