Timeline for How can I tackle this edit?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 2, 2021 at 6:40 | comment | added | MBorg | Apologies; I was of the impression that the code was outdated. In that case, I don't see the need for the edit. At most, a comment stating the answer is old syntax 'but still viable' and maybe a link to an answer with a newer syntax in case one wanted to use the newest syntax, but I don't consider it needed if it still works. | |
Nov 2, 2021 at 6:29 | comment | added | VLAZ | With this said, there is Introducing Outdated Answers project underway to resolve the general case of outdated approaches. I'd rather not mangle answers together just in order to piggyback on the existing ranking. Especially not if it introduces wrong information like "this solution is not good any more" when that's not the case. | |
Nov 2, 2021 at 6:26 | comment | added | VLAZ |
"to deal with issue of legacy" OK, let's be absolutely clear - in this case, there is no "legacy syntax". Nothing outdated, nothing obsolete, nothing deprecated. The two alternatives are perfectly acceptable in TS code and a matter of personal choice. There is only ambiguity when using <> with JSX/TSX grammar which is why as was introduced to resolve it. Thus as is newer but I can't say there is "issue of legacy" here because there is no issue of using either of these in regular TS code.
|
|
Nov 2, 2021 at 0:14 | comment | added | MBorg | 1st question: to deal with issue of legacy. 2nd question: no, this was only in the case of legacy, since I feel that pointing out outdated but otherwise good answers is helpful but shouldn't be relied on | |
Nov 1, 2021 at 19:22 | comment | added | VLAZ | Counterpoint: why combine two answers into one, if there is a perfectly good second answer for that? Is the aim to only have one single answer which is an amalgamation of every possible solution? | |
Nov 1, 2021 at 11:32 | history | answered | MBorg | CC BY-SA 4.0 |