Paul Lewis

Results 22 comments of Paul Lewis

In some codebases it's not uncommon to have TS & JS alongside one another, especially during a migration from – say – JS to TS. In those cases, where there's...

Hmm, it doesn't happen unless SWC is set as the transpiler, interestingly enough 🤔

Oh I seeeeee - thank you! I'll close this one then 👍🏻

The simple reason is that browsers are wired for sync ops. You can set offsetWidth (write) and then ask for its value (read) and that is allowed. FastDOM lets you...

I think so. Setting out why this even a thing is going to help devs less familiar with the area.

@allyraza because the browser won't stop you breaking that behaviour. If you mutate some styles and then request -- say -- `offsetLeft`, the browser will run layout at that point....

@PaulKinlan not sure what you want to do with this (if anything?) - I'll leave it with you if that's okay :)

The data came from Jordan Santell a while ago (on the old repo over on my personal account). I'm more than happy to take PRs for fixes, though from my...

I'm all up for changing the data to suit here, since it's not the common case. In the meantime, while Surma does the change to the template, we can update...