- In some cases when a React component passes a new resource as a string to
useResource, the useResource might return "undefined" for the resource,
which can result in a white screen of death.
See PR #67 for details. Backported in #70 for the 2.x.x branch.