How to get Json data from a fetch response object (using react router loader with defer)
hi guys im using defer loding the data using loader of react router dom
and this is how im using it in my component
in the <Await> im not getting the data as json but as a resolved fetch's responce object so i decided to invoke the json method
but im getting error as objects are not valid react children
0 Replies