Dev Stack is a simple website for developers. Here users can explore different technologies and create their own technology stack.
- React
- TypeScript
- Tailwind CSS
- React-Toastify
- JSON
- Vite
- Explore different development technologies.
- Add technologies to your own stack and remove them anytime.
- Responsive design with loading and toast notifications.
JSX lets us write HTML-like code inside JavaScript. It makes React code easy to write and understand.
Props are used to send data from one component to another. State is used to store data that can change.
useState is used to store data in a component. I used it for technologies, selected stack, and loading.
useEffect runs code when the component loads. I used it to get the technology data from the JSON file.
The key helps React identify each item in a list. It helps React update the list correctly.
Conditional rendering means showing something based on a condition. I used it to show a message when the stack is empty.
7. How do you pass data from a parent component to a child component, and how does a child send something back to the parent?
Props are used to send data from a parent component to a child component. A child can send something back by using a function passed from the parent. I did not use props in this project.