12

The question is React State Not Updating correctly and is actually linking code that updates the state correctly. There's nothing to answer here, because there isn't any problem. Is this supposed to be flagged?

image of the question

9
  • 4
    They didn't include a mcve in the question itself, or ask a specific technical question, so there's no action to be taken here even if the StackBlitz link didn't work.
    – ggorlen
    Commented Apr 8 at 17:08
  • 7
    Not sure why this is getting close votes for "can no longer be reproduced." Is the problem OP is asking about somehow not possible now? Commented Apr 8 at 22:02
  • 4
    This is one reason why links to code aren't acceptable. If a change is made there's no way to see the history. Commented Apr 9 at 3:03
  • 5
    Posts like these make me want to suggest a "no issue here, just a misunderstanding what the code is doing" VTC reason. I'd close as "not reproducible or was caused by typo". If OP pushes back and swears there's a problem, then ask them to provide better details and produce a complete [mcve], then hit them with the "needs debugging details" close reason if they can't provide anything.
    – Drew Reese
    Commented Apr 9 at 6:19
  • 2
    Just generally, if there are questions that truly answer themselves (in the question body): one could simply cut out the answer from the question and put it into an answer (giving attribution). Commented Apr 9 at 6:25
  • 2
    @Cuzy Sure, if it is already closed. Oftentimes you may want to prompt the OP to edit their post first if you suspect there's a chance to salvage before casting votes to close.
    – Drew Reese
    Commented Apr 9 at 8:31
  • 1
    This has been answered in this question: meta.stackoverflow.com/questions/429767/…
    – JK.
    Commented Apr 10 at 22:06
  • @JK. What do you mean? That's just a link to this question itself. Commented Apr 11 at 10:53
  • 1
    Maybe he recently learned about recursion XD
    – André
    Commented Apr 11 at 14:07

2 Answers 2

28

Several closure reasons seem to apply:

  • "Not reproducible or was caused by a typo",
  • "Needs debugging details",
  • "Needs details or clarity"

However, these are only available once you pass 3000 reputation.
Until then, you can flag for these reasons, rather than vote to close.

3
  • 9
    @Cuzy close votes are locked behind that reputation cutoff. Flags aren't.
    – Cerbrus
    Commented Apr 9 at 8:20
  • They're similar, but not quite the same :-)
    – Cerbrus
    Commented Apr 9 at 8:25
  • 2
    @Cuzy Even if you don't have the rep to cast close votes, you can raise the corresponding flag under "needs improvement" and then I believe the question will end up in the "close vote review queue".
    – Lundin
    Commented Apr 9 at 12:30
0

If the code the OP shows does not, in fact, have the problem they claim it does, it should be closed as "Not reproducible or caused by a typo". (If they have code that actually reproduces the problem or other instructions that allow us to actually reproduce their problem, they can edit the question with that so that it can be considered for reopening).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .