🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@ray-js/framework

Package Overview
Dependencies
Maintainers
1
Versions
472
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ray-js/framework

Ray Core

1.7.16
latest
npm
Version published
Weekly downloads
879
-38.27%
Maintainers
1
Weekly downloads
 
Created
Source

@ray-js/framework

实现跨端框架运行时统一,面向开发者提供统一的开发体验。

框架 API

import { router, location, usePageEvent, withPageLifecycle } from 'ray'

Hooks

  • usePageEvent(event, fn) - 页面事件
  • useAppEvent(event, fn) - App 事件

Hoc

  • withPageLifecycle - 非页面组件使用页面事件

Keywords

ray

FAQs

Package last updated on 17 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts