Middle+
Tell us about your current project and show it.
sobes.tech AI
Answer from AI
In my current project, I am developing the frontend for a web application that allows users to manage their tasks and projects in real-time.
Technologies used:
- React with hooks for building UI
- Redux for state management
- TypeScript for typing
- WebSocket for data synchronization between clients
Main features:
- Creating, editing, and deleting tasks
- Collaborative editing with real-time updates
- Filtering and sorting tasks
Example of a React component:
import React, { useState, useEffect } from 'react';
interface Task {
id: string;
title: string;
completed: boolean;
}
const TaskList: React.FC = () => {
const [tasks, setTasks] = useState<Task[]>([]);
useEffect(() => {
// Load tasks from server
fetch('/api/tasks')
.then(res => res.json())
.then(data => setTasks(data));
}, []);
return (
<ul>
{tasks.map(task => (
<li key={task.id}>
<input type="checkbox" checked={task.completed} readOnly /> {task.title}
</li>
))}
</ul>
);
};
export default TaskList;
The project is actively evolving, and I am involved in improving architecture and optimizing performance.