![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@edenjs/admin
Advanced tools
[![TravisCI](https://travis-ci.com/eden-js/admin.svg?branch=master)](https://travis-ci.com/eden-js/admin) [![Issues](https://img.shields.io/github/issues/eden-js/admin.svg)](https://github.com/eden-js/admin/issues) [![License](https://img.shields.io/badge
Administrator base logic component for EdenJS
@edenjs/admin
creates all the base administrator logic that any normal system should require. This module also creates configuratble dashboards.
npm i --save @edenjs/admin
No configuration is required for this module
Dashboard
UsageDashboard model consists of a single configurable dashboard instance. These are created in the frontend through the api.
// load model
const Dashboard = model('dashboard');
// get first dashboard
const dashboard = await Dashboard.findOne();
// dashboard used in frontend
const data = await dashboard.sanitise();
No hooks created in this module
<dashboard>
UsageThe dashboard view creates an instance of a dashboard container, this provides a fully configurable dashboard area.
In the controller Usage
// require helper
const blockHelper = helper('cms/block');
// get dashboards
const dashboards = await Dashboard.find();
// sanitise data
const data = await Promise.all(dashboards.map(dash => dash.sanitise()));
// render dashboard/home.tag view
res.render('dashboard/home', {
blocks : blockHelper.renderBlocks('admin'), // render blocks can be namespaced
dashboards : data,
});
In the view dashboard/home.tag
Usage
<dashboard-home-page>
<dashboard dashboards={ opts.dashboards } blocks={ opts.blocks } type="my.dashboard" name="My Dashboard" />
</dashboard-home-page>
<admin-header>
UsageThe admin header view creates a common admin header component for use in admin layout pages.
In the view
<admin-header title="Admin Header Title" />
FAQs
[![TravisCI](https://travis-ci.com/eden-js/admin.svg?branch=master)](https://travis-ci.com/eden-js/admin) [![Issues](https://img.shields.io/github/issues/eden-js/admin.svg)](https://github.com/eden-js/admin/issues) [![License](https://img.shields.io/badge
We found that @edenjs/admin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.