306 karma · joined December 19, 2021
I just hope Apple doesn't decide to screw it up somehow. Like making sure only pricey apple chargers works. Then it wouldn't matter at all.
Wait ...what? Like, seriously?
(I really do want to know, I don't mean this question in any negative way.)
const mid Math.floor(preElem.length / 2); > <span className="bio-letter">{preElem.slice(0, mid)}</span>{preElem.slice(mid)}
I thought the original was more complex a nuanced than this.
I don't know what your SAAS does (maybe it's not really applicable here), but in the case of github, it's very wastefull. Yes, it would take some work, some servers, etc but they have the skill, the money and everything they need to do it. They could do it once (well, with every change, but it's not very often) on their side instead every client on every pageview will have to do the same work again and again, wasting time and energy.