function resolve(module, props, Loadable) {
      const Component = options.resolveComponent
        ? options.resolveComponent(module, props)
        : defaultResolveComponent(module)

      // FIXME: suppressed due to https://github.com/gregberge/loadable-components/issues/990
      // if (options.resolveComponent && !ReactIs.isValidElementType(Component)) {
      //   throw new Error(
      //     `resolveComponent returned something that is not a React component!`,
      //   )
      // }
      hoistNonReactStatics(Loadable, Component, {
        preload: true,
      })
      return Component
    }
Resolves loaded `module` to a specific `Component
@param module
@param props
@param Loadable
@returns Component