News for hackers. Stuff that matters.
Re:XML Is the Future by mrighele on Monday June 26, 2023 @07:42AM (#36478431)
> In the meantime, your PHP app had 40 major security flaws

I just did a "npx create-react-app text" and I got

"74 vulnerabilities (69 moderate, 5 high)"

40 major security flaws in 10 years sounds almost like a bargain.

Re:XML Is the Future by Quarrelsome on Monday June 26, 2023 @07:53AM (#36478521)
now read those flaws, compare them to the worst in 2004 and tell me they're the same. They're not the same because the internet was insecure as fuck in 2004 and these days security researchers motivations to receive bounties result in considerably more situational (and significantly less severe) security issues.
Re:XML Is the Future by papruapap on Monday June 26, 2023 @09:26AM (#36479401)
create-react-app has been discouraged to use for a couple of years now, not really sure if the React team is still supporting it.
Re:XML Is the Future by firecall on Monday June 26, 2023 @09:52AM (#36479665)
April 2022 was the last maintenance release.

Out of curiosity, why is it discouraged?

I’m not really in the React world, but have been fixing up a Create React App for a client recently, so learned a bit more about it.

Re:XML Is the Future by rerdavies on Monday June 26, 2023 @02:25PM (#36483674)
So how are you supposed to create static react app now?
Re:XML Is the Future by xdennis on Monday June 26, 2023 @04:29PM (#36485388)
They no longer want you to create a React app by itself[1], but instead use Next.js, Remix, Gatsby, or Expo.

[1]: https://react.dev/learn/start-a-new-react-project

Re:XML Is the Future by rerdavies on Monday June 26, 2023 @08:06PM (#36487496)
None of which are static. How are you supposed to create a static React app?
Re:XML Is the Future by cowoder on Monday July 03, 2023 @03:38AM (#36569968)
You can use vite for that