5 questions from the last 1 days
-1
votes
1
answer
24
views
React 19 Boiler plating
I am trying to create a custom boilerplate, For the routing part i am planning to use react-router. So for that I am confused whether I want to use declarative mode or data mode.
Please suggest which ...
2
votes
1
answer
38
views
Responsive Design using Chakra UI Show Component with When property
The newer Show component now has a when prop, but no longer has the above or below props. I'm trying to follow along with an exercise to use the Show component to display a grid item only on certain ...
-3
votes
1
answer
49
views
In React, why can't I use an object wrapper in state to allow mutating the data inside? [closed]
In React, if I have an array of data like [A, B, C], why not store it inside a wrapper object like { array: [A, B, C] }? then we can mutate the array directly (e.g., using .push()) and then create a ...
1
vote
1
answer
50
views
Piechart is not rendering proportionally
Why is this code not rendering the piechart proportionally? E.g. if the values are 2:4, it shows 2 as a thin line and the rest for the 4.
"use client";
function polarToCartesian(cx: number, ...
-5
votes
0
answers
56
views
Are there known security vulnerabilities or risks in React versions before React 19? [closed]
I’m reviewing a project that currently uses React <19, and I’m trying to understand whether upgrading is required from a security perspective, not just new features.
I’m specifically looking for ...