Usequeries results referencing
In all the examples I have seen the useQueries function references results by number. Is it possible to acces results by query key also? Something like
const dataInfo1=results['info1'].data;
const dataInfo2=results['info2'].data;
This would dramatically improve readability if it were available, I believe.
Thanks.
const dataInfo1=results['info1'].data;
const dataInfo2=results['info2'].data;
This would dramatically improve readability if it were available, I believe.
Thanks.