Skip to main content

Questions tagged [jsx]

JSX is an open source programming language, or an AltJS with classes and static types. The source code is compiled into JavaScript which is highly optimized.

2 votes
0 answers
52 views

I'm building a modal form in React. It collects a name, image URL, and weather selection. It works, but I’d like to improve: Code structure State handling Reusability Accessibility Here’s the code: <...
Barry G's user avatar
  • 21
2 votes
0 answers
57 views

I build project Case opening simulator in React JS + tailwind. I am looking for maybe another way to implement the structure of code and tell me if I've done something wrong, what I should do better ...
nwm's user avatar
  • 21
0 votes
0 answers
42 views

I've been playing around more and more with React recently, and wound up wanting to create a fully animated reorderable list. You can get idea about what it looks like here. It's a self contained ...
Tom's user avatar
  • 101
3 votes
0 answers
56 views

I’ve built a working animated panel menu in React using Framer Motion. Only one section expands at a time, making the animation smooth and visually clean. However, I’d like help improving or ...
MegaRapidz's user avatar
0 votes
0 answers
32 views

I am learning about refs by using the React learning resources and encountered this challenge: https://react.dev/learn/referencing-values-with-refs#fix-debouncing The provided solution uses a ref to ...
Rizza Keen's user avatar
0 votes
0 answers
42 views

I am learning react.js, and I am on a way learning react hooks. I followed some examples on 'useReducer' where I have a search input for searching movies, and I load the list of movies from API. The ...
Rahul Shivsharan's user avatar
4 votes
3 answers
947 views

The assignment was the following: Users can add at a new Item/Card with Title and Description. Everytime an item is created, it is automatically placed in the TODO column At any point in time items ...
Andrew Bailey's user avatar
1 vote
1 answer
55 views

This component is a multistep popup form designed to handle job vacancy creation. It uses MUI for the UI, Formik and Yup for form handling and validation. The form is divided into 4 steps: Job Details,...
Onlit's user avatar
  • 11
3 votes
0 answers
47 views

After having trouble with a few Charting libraries I decided to implement my own GitHub style heatmap with react and React-Bootstrap. It actually works. Since it does not need to be extensible it only ...
Doruk's user avatar
  • 423
1 vote
0 answers
50 views

I'm using a custom hook to handle light/dark mode toggling in my React app, which leverages MUI's theming. The hook manages the mode state, stores it in localStorage, and provides a toggleColorMode ...
Andrian's user avatar
  • 113
3 votes
2 answers
503 views

My code works perfectly to send a sign in link via email, but for additional optimization I wonder can I use onSubmit with ...
Andrian's user avatar
  • 113
3 votes
0 answers
67 views

I've developed a goal tracking app in React. I'm curious whether writing filter functions without using useState is appropriate or not. Any feedback to optimize the ...
dev01295's user avatar
2 votes
0 answers
93 views

So I have recently started learning web dev (including React since a few days ago), and I have tried to implement a simple drawing website that lets you change the brush size, color, and save the ...
Tom Gebel's user avatar
  • 360
5 votes
1 answer
545 views

I recently received the following code challenge in connection with a job interview. After submitting, I was rejected. I want to know what (if anything) I could have done better here. Task Your task ...
Russ J's user avatar
  • 201
3 votes
2 answers
128 views

I've pasted here a basic implementation I've done of a Minesweeper game. This is not the full functionality, only the populating/revealing of squares. The idea is that the user inputs ...
nickhealy's user avatar
  • 165

15 30 50 per page
1
2 3 4 5
14