高阶组件和模式高阶组件和模式包含:高阶组件(HOC)实现(withAuth)、Render Props、组合模式(Component Composition) 要求:用 HOC 封装一个权限校验组件,分析 HOC 与 Render Props 的优 缺点