Skip to content

About

A responsive React app for exploring technologies and building a personalized development stack.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Dev Stack Builder

A responsive React application for exploring modern technologies and building a personalized development stack. Users can browse different technologies, view details, and create their own custom stack by adding preferred tools.

Live Site

https://b14-a05-dev-stack-eight.vercel.app

Repository

https://github.com/Somaya-Akter/B14-A05-DevStack

Technologies Used

  • React.js
  • JavaScript (ES6+)
  • Vite
  • CSS3
  • React Toastify
  • JSON Data

Features

  • Browse modern frontend, backend, database, language, and DevOps technologies with detailed information.
  • Add technologies to a personalized stack with duplicate prevention and toast notifications.
  • Fully responsive design with mobile navigation and optimized layouts for all devices.

React Questions & Answers

1. What is JSX, and why is it used in React?

JSX is a syntax extension that allows us to write HTML-like code inside JavaScript. It makes React components easier to write and understand by combining UI structure and logic together.

2. What is the difference between props and state?

Props are data passed from a parent component to a child component and cannot be changed by the child.

State is data managed inside a component that can change over time and update the UI.

3. What does the useState hook do, and where did you use it in this project?

The useState hook is used to create and manage component state in React.

I used useState to manage the selected technologies in the "Your Stack" section and update the UI when users add or remove technologies.

4. What does the useEffect hook do, and why did you need it to load the JSON data?

The useEffect hook runs side effects in React components.

I used useEffect to load technology data from the JSON file when the application starts.

5. Why does every item in a .map() list need a unique key prop?

A unique key helps React identify each item efficiently and update only the necessary parts of the UI when the list changes.

6. What is conditional rendering? Show one place you used it.

Conditional rendering means displaying different UI elements based on a condition.

I used it in the "Your Stack" section where an empty message appears when no technology is selected, and stack items appear after adding technologies.

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?

A parent component passes data to a child component using props.

A child component can send data back to the parent by calling a function passed through props.

About

A responsive React app for exploring technologies and building a personalized development stack.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages