Nearly all controllers before the Joy-Cons always used potentiometer joysticks. While it is true that it is mechanically less durable than hall effect and other electromagnetic sensors, if it was such a shitty technology that’s 100% unsuitable for that use, we’d have known by now.
The biggest issues is that there was design flaws that wore out the durability of Joy-Con sticks much faster than it should, and mostly that Nintendo handled it in a completely unacceptable way in that they had to be fought so that they’d provide free replacements
I’m not too shocked or bothered that Nintendo is using potentiometer sticks for the Joy-Con 2 (or anybody making new controllers for that matter). All that matters is that they’re more durable, and I think it’s likely that they learned their lesson.
They’re probably still cheaper than EM-based sensors (though demand seems to drive prices down) and the console is already expensive enough as it is.