Sabitlenmiş Tweet
Luxon.js
194 posts

Luxon.js
@luxonjs
A date & time library for Javascript.
Katılım Mart 2018
40 Takip Edilen148 Takipçiler

@DasSurma A lot of people here have mentioned the tooling, which I agree is important. But I think Rust’s secret weapon is the safety. I remember from my Ruby days that dropping to C felt like a huge undertaking because I’d screw it up. But Rust let’s you build confidently
English

@jlongster I’ve used it quite heavily. It works well and does what it says. The challenge is that you can’t use it outside of React. I ended up wanting that and wishing I’d used Zustand instead
English

Has anyone used Jotai (github.com/pmndrs/jotai) and liked/disliked it?
English

@duhdennie @AndreiGordeevSE @codepo8 Yes, document.getElementById.bind(document) works. But most people just wrap stuff like this in a closure
English

@duhdennie @AndreiGordeevSE @codepo8 The bigger difference is that the alias one doesn't work. In userland JS functions, you'll get an undefined `this` inside the method. For a native call like document.getElementId, they check this and throw an `illegal invocation` error
English

@AndreiGordeevSE @codepo8 yeah difference being that this one doesn’t have to traverse 2 calls
English



