David Barri

Results 110 comments of David Barri

@i-am-the-slime Actually, both of the examples above use state monads. I'll give you an example of _not_ using state monads, this is from a private project of mine (so I...

Have just run into https://github.com/lampepfl/dotty-feature-requests/issues/307 on the Scala 3 side. This is effectively a blocker because workarounds would need to be applied at call-site (i.e. users' code). Worse is that...

Note to self: add as JS RR test with custom hooks to confirm how it's handled in plain JS

Reminder: Try again to reproduce the Scala 3 lazy val bug now that I *fiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiinally* know it's related to `betaReduction`

Create a Scala.js issue to elide those useless `props.a;` statements *Edit: Done. Raised https://github.com/scala-js/scala-js/issues/4692*

Hi @chuwy. I haven't used `cats.effect.Ref` but I do have a vague, ancient memory of `fs2.Signal` so I think I know what you mean. Sounds like a cool idea worth...

`LegacyReactTestUtils` breaks semver you idiot

I had the same problem and I created the following as a local solution: * https://gist.github.com/japgolly/582bd8c0dcb7d1ef6ac314db62c6c42e * `TypeInfoCache.java.patch` is the hacky little change * `patch-postgres.sh` is a script that you...

Actually sorry credit where credit is due: @triggerNZ came up with the hack a year ago, I just revised it and created the automation around it.

Hey! Yes, the way to do that is to create a standard Scala.JS facade that includes `getValue()` etc, and then call `.addFacade` when you're building up your component. It's described...