Rasmus Schultz

Results 578 comments of Rasmus Schultz

> Our shared post doesn't support markdown even though the editor shows it does. ?!?! πŸ˜… okay, that is a bit of an oversight ☺️ it's already a pretty great...

uhm, so in my latest post, I intentionally tried to avoid markdown and... it was rendered as markdown πŸ€·β€β™‚οΈ https://app.daily.dev/posts/first-draft-a-check-operator-for-php-1o1jtwa51 did you change something already?

> @mindplay-dk this is not a shared post. > > Shared post are when you share a link via the view. wow, that is really confusing. πŸ˜… I'm guessing you...

I may be totally naive here, but is there any reason this wouldn't do it? ```ts import type React from 'react'; function withDefaultProps( defaultProps: Partial, Component: React.ComponentType ) { /*...

All the current suggestions seem to propose a means of altering the type within the current scope, e.g.: ```ts if (a instanceof A) { b is B; c is C;...

@aluanhaddad good point, yes - introducing a block doesn't make sense.

Doesn't work for me either - mine is in VPN mode, no root. Stranger still, immediately after install, it showed "blocked" as 144898 and this number hasn't changed. (???) I've...

@nonara works for me! πŸ‘

Should probably only inline smaller and/or few-instance modules? For larger modules, a function call is probably worth while - since, otherwise, you're paying with potentially long compile times. Very cool...

Have you thought about generating WebAssembly bytecode instead? I don't have any experience doing that myself, but would expect this is a *whole* lot faster than JS - you would...