It turns out that it does a :
npm create react-router@latest.
In clear : it does not create a vite project but a react-router (Remix) project instead.
I think it's so nice of @vite.dev to redirect to a competing project.
It turns out that it does a :
npm create react-router@latest.
In clear : it does not create a vite project but a react-router (Remix) project instead.
I think it's so nice of @vite.dev to redirect to a competing project.
Also Javascript. How to call the constructor of the superclass without using its name directly:
Also Javascript. How to call the constructor of the superclass without using its name directly:
Without auto-completion, I type document.getElementById() more often wrong than right.
Without auto-completion, I type document.getElementById() more often wrong than right.
<hr /> is not a thing.
Neither is <hr/> nor <img ... /> or any other.
It's called a self-closing tag and it doesn't exist in HTML. The "/" is simply ignored by the browser.
The only place it makes sense is in the HTML within JSX.
<hr /> is not a thing.
Neither is <hr/> nor <img ... /> or any other.
It's called a self-closing tag and it doesn't exist in HTML. The "/" is simply ignored by the browser.
The only place it makes sense is in the HTML within JSX.
But why is it attached to Object and not Array.
@philna.sh's blog (philna.sh/blog/2023/09...) pointed me to part of the answer. Creating anArray.groupBy() would break sites using various libraries that monkey-patch Array.prototype.groupBy
But why not Array.groupBy() ?
But why is it attached to Object and not Array.
@philna.sh's blog (philna.sh/blog/2023/09...) pointed me to part of the answer. Creating anArray.groupBy() would break sites using various libraries that monkey-patch Array.prototype.groupBy
But why not Array.groupBy() ?
I'm certain it's a dumb way to do it and there are better tools but it mostly works for me.
I'm certain it's a dumb way to do it and there are better tools but it mostly works for me.
No, but I thought about it way too long.
No, but I thought about it way too long.
The tools I've looked at are : rsnapshot, kopia,
BorgBackup, restic, Bupstash.
I think I'm gonna go with BorgBackup.
The tools I've looked at are : rsnapshot, kopia,
BorgBackup, restic, Bupstash.
I think I'm gonna go with BorgBackup.
MDN talks about differences in WebRTC behavior between browsers and suggests using the webrtc-adapter library to smooth over the differences.
Does anybody know what the differences are?
developer.mozilla.org/en-US/docs/W...
MDN talks about differences in WebRTC behavior between browsers and suggests using the webrtc-adapter library to smooth over the differences.
Does anybody know what the differences are?
developer.mozilla.org/en-US/docs/W...