@ray-js/framework 实现跨端框架运行时统一,面向开发者提供统一的开发体验。 框架 API import { router, location, usePageEvent, withPageLifecycle } from 'ray' Hooks usePageEvent(event, fn) - 页面事件 useAppEvent(event, fn) - App 事件 Hoc withPageLifecycle - 非页面组件使用页面事件