#JSONata 2 has switched from a synchronous to an asynchronous API (which brings speed improvements), but now I am looking for the idiomatic #React way to deal with a lot of async calls in render functions.
Stuff like this:
- {!isHidden(response) && <Response />}
this wont work with `await isHidden`. So do I need to put all of these expressions in `useEffect`?
Tracking issue: https://github.com/distributeaid/needs-assessment/issues/55
needs-assessment/FormNavigation.tsx at e77c231c505de9829bd457fcfc3c4351c62130dd · distributeaid/needs-assessment
A web application that we use to assess needs of the aid organizations we support. - needs-assessment/FormNavigation.tsx at e77c231c505de9829bd457fcfc3c4351c62130dd · distributeaid/needs-assessment