Skip to main content
14 events
when toggle format what by license comment
Feb 19 at 11:08 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jan 28 at 13:14 audit Suggested edits
Jan 28 at 13:15
Jan 20 at 13:02 comment added Doc Brown This is the kind of question which shows why most askers prefer LLMs over Stackexchange today. When one posts this at ChatGPT or Deepseek (I tried both), one gets an extensive explanation, with different points of view taken into account, which looks quite plausible to me. When asking here, one gets downvotes.
Jan 20 at 9:17 history edited dok CC BY-SA 4.0
added 509 characters in body
Jan 20 at 7:49 comment added Basilevs @DocBrown while this occasionally might be true in general, state management in React is VERY specific. It makes no sense to follow any advice given based on just a couple of pages of the question. To reinforce the point, I've casually read about useState for years, but I do not use React and am unable to answer.
Jan 20 at 7:36 answer added Arseni Mourzenko timeline score: 1
Jan 20 at 6:42 comment added Doc Brown Adding code to demonstrate a certain conceptional question is perfectly fine on this site. I would also recommend to have in mind not every reader here knows React and what a useState in React might be, still some of those people may be able to answer your question when you take the time to give a short explanation on a conceptional level what a useState is good for or how it works.
Jan 19 at 23:54 comment added Ewan how are you going to set the state?
Jan 19 at 23:13 comment added Greg Burghardt You can include code here exactly like StackOverflow.
Jan 19 at 22:02 comment added Basilevs These React things are very specific. Code would not help anyone unfamiliar with React.
Jan 19 at 20:26 comment added dok Can you include the code here? I was just thinking about stack overflow.
Jan 19 at 19:29 comment added Greg Burghardt Can you edit your question to include a code example?
Jan 19 at 19:21 review Close votes
Jan 20 at 2:50
Jan 19 at 18:30 history asked dok CC BY-SA 4.0