![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.
kanban-board-react
Advanced tools
A simple package for creating columns and items. Items can be dragged and dropped into columns. The package uses zero dependencies.
import { Kanban } from "kanban-board-react";
import React, { useState } from "react";
import "./App.css";
const tasksData: any[] = [
{ someData: "test", someData2: "test", dataKey: "todo", id: 1 },
{ someData: "test", someData2: "test", dataKey: "complete", id: 2 },
{ someData: "test", someData2: "test", dataKey: "todo", id: 3 },
{ someData: "test", someData2: "test", dataKey: "todo", id: 4 },
];
const columnsData: any[] = [
{ name: "Todo", dataKey: "todo" },
{ name: "Doing", dataKey: "doing" },
{ name: "QA", dataKey: "qa" },
{ name: "Completed", dataKey: "complete" },
];
function App() {
const [items, setItems] = useState<any[]>(tasksData);
const updateTask = (result: { task: any; columnDataKey: string }) => {
const index = items.findIndex((item) => item.id === result.task.id);
items[index].dataKey = result.columnDataKey;
const newArray = [...items];
setItems(newArray);
};
return (
<div>
<div className="App">
<Kanban
style={styles}
updateTask={updateTask}
tasks={items}
columns={columnsData}
taskRender={(task: any) => {
return <Item task={task} />;
}}
/>
</div>
</div>
);
}
const collisionStyle: React.CSSProperties = {
backgroundColor: "rgba(0, 0, 0, 0.1)",
transition: "background-color 300ms ease",
};
const laneStyle: React.CSSProperties = {
display: "flex",
flexDirection: "column",
alignItems: "center",
height: "100vh",
width: "100%",
overflowX: "hidden",
};
const styles = {
onDragOver: collisionStyle,
column: laneStyle,
};
const Item = ({ task }: { task: any }) => {
return (
<div className="item" style={{ width: "250px" }}>
<div className="id">#{task.id}</div>
<div className="test">
<div className="taskTitle">{task.id}</div>
<div>{task.someData}</div>
</div>
</div>
);
};
export default App;
An array of objects. Each object must contain dataKey (this key must also be present in the column dataset) and an id.
An array of objects. Must contain a name key for the column name and a dataKey (this dataKey matches the task dataKey)
A object with two keys, onDragover and column. onDragOver styles are used when an items is dragged over a lane. column is the lane styling.
A function that will be run when a task is dropped on top of a lane. The fuction is run with a parameter containing the task and the columnDataKey. result.task result.columnDataKey
A function that retuns a jsx element. The function gets passed the task.
FAQs
A simple kanban board for React with zero dependencies
The npm package kanban-board-react receives a total of 0 weekly downloads. As such, kanban-board-react popularity was classified as not popular.
We found that kanban-board-react 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
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.