
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Relights you react development.
Relight 应用框架依赖于尚未正式发布的 react-router-dom@6
,因此 Relight 本身也尚未正式发布。
redux
, @redux/toolkit
and react-redux
)react-router-dom@6
)react-intl
)ErrorBoundary
)import React from 'react';
import { Relight } from 'relightjs';
import { Route } from 'relightjs/routing';
import config from '@/config';
import Home from '@/views/index';
function App() {
return (
<Relight config={config}>
<Route path="/" element={<Home />} />
</Relight>
);
}
interface RelightConfig {
auth?: {
reducerKey?: string;
};
intl?: {
locales?: any;
};
exception?: {
view?: React.ComponentType<{ error: Error, errorInfo?: React.ErrorInfo }>;
};
routing?: {
routes?: any[];
provider?: React.ComponentType<{ routes: any[] }>;
};
}
如果你想在 RSUITE 企业级项目中使用 Relight,推荐使用 Relight RSUITE App 脚手架 (WIP) 创建项目。它会为你配好一套适用于 RSUITE 的 Relight 配置,以便迅速启动 RSUITE 企业级项目原型。
MIT Licensed.
FAQs
> Relights you react development.
The npm package relightjs receives a total of 1 weekly downloads. As such, relightjs popularity was classified as not popular.
We found that relightjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.