DevStack is a modern technology-stack explorer that helps developers discover, explore, and compare different frontend, backend, database, and development tooling options to build the right stack for their next project.
- React — Building the user interface
- TypeScript — Type-safe development
- Vite — Development server and build tooling
- Tailwind CSS — Styling and responsive UI
- React Icons — Interface icons
- React Toastify — Toast notifications
- 🔍 Explore Technologies — Browse different technologies across frontend, backend, databases, and development tooling.
- ⚖️ Compare Technology Options — Explore technologies side by side to make it easier to understand and compare different choices.
- 🧩 Build Your Tech Stack — Use the available technology options to put together a stack that fits your next project.
-
What is JSX, and why is it used in React?
JSX is a syntax that lets us write HTML-like code inside JavaScript. It makes React UI code easier to read and write.
-
What is the difference between props and state?
Props are data passed from a parent to a child component. State is data managed inside a component that can change over time.
-
What does the
useStatehook do, and where did you use it in this project?useStatelets a component store and update data. I used it to manage things like the selected players and other changing UI data. -
What does the
useEffecthook do, and why did you need it to load the JSON data?useEffectruns side effects in a component. I used it to load the JSON data when the component first rendered. -
Why does every item in a
.map()list need a uniquekeyprop?A unique
keyhelps React identify each item and efficiently update the list when it changes. -
What is conditional rendering? Show one place you used it.
Conditional rendering means showing different UI based on a condition. For example, if the user hasn't selected any technologies for their stack, I can show an empty-stack message:
{ selectedTechnologies.length === 0 ? ( <p>Your stack is empty.</p> ) : ( <SelectedStacks technologies={selectedTechnologies} /> ); }
-
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 passes data to a child using props. To send data back, the parent passes a callback function as a prop, which the child can call.