Middle
Tell about your experience, your last place of work, tech stack, team, responsibilities.
sobes.tech AI
Answer from AI
At my last job, I worked as a frontend developer in a team of 6 people. The tech stack included React, TypeScript, Redux for state management, as well as Webpack and Babel for building.
Responsibilities:
- Developing new user interfaces and components.
- Optimizing application performance.
- Integrating with REST API.
- Participating in code reviews and sprint planning.
We used Agile methodologies, regularly held retrospectives, and maintained close collaboration with the backend team and designers. Modern approaches such as component-based architecture, React hooks, and unit testing with Jest were employed.
Here's an example of a React component with hooks:
import React, { useState, useEffect } from 'react';
const UserProfile: React.FC<{ userId: string }> = ({ userId }) => {
const [user, setUser] = useState(null);
useEffect(() => {
fetch(`/api/users/${userId}`)
.then(res => res.json())
.then(data => setUser(data));
}, [userId]);
if (!user) return <div>Loading...</div>;
return <div>{user.name}</div>;
};
export default UserProfile;
This is a simple component example that loads user data by ID.