Check out https://pnpm.io
Check out https://pnpm.io
npm bad, pnpm good.
How about some fn
instead?
We just not there yet. Tauri tries to be Electron or React, where you write only once and use everywhere. This is very cost efficient. So even though it’s of course not perfect overall, but it is the perfect alternative, that brings web apps closer to native-like experience. Small but important step to greatness.
In the end the question is: Election or Tauri? And not a debate on whether web frameworks are bad etc.
Basically, but not basically. After all, Chromium is (F)OSS, and Chrome is proprietary.
Do you know what this even is? It’s not marginal at all. Check the comparisons of Tauri and Electron. And it does not use Chrome. Electron also doesn’t use Chrome.
Wait until Tauri will gain popularity.
It’s only like that when you’ve learned them recently. Now I need to learn Rust. You also have to remember a ton of shortcuts in many GUI editors.
micromamba
is 100% better.
deleted by creator
Ok, I should check it out, then. Maybe I already follow all the best practices, so I wouldn’t need it anyway. ;)
So why there are typescript extensions for eslint if both are linters for JS? You should either use eslint with JS or transpile TS to JS, right?
Are there bugs in TS that eslint can catch?
I personally never seen TS project with eslint.
I don’t know. I never used eslint, therefore it is not needed. Everything works perfectly fine without it.
Why do you need it?
You don’t need eslint with TS.
You absolutely have to use prettier with JS. I don’t think there is auto adding missing semicolons in C/C++ though, it would be very useful.
Extra project setup like pnpm add -D typescript && tsc --init
? One thing that is kinda annoying is that you have to manage were will js files go.
Never used eslint. prettier is a must. semicolons are only needed to split some rare TS syntax lines.
It is recommended. But in TS it is not necessary with rare exceptions.
You can: ./texteditor
, ./bin/texteditor
, “texteditor binary”, “(local) texteditor program”.
You literally didn’t gave any arguments why you really dislike pnpm. The most obvious benefit is several times faster installations. It also have resolved some peer dependencies (I don’t remember details).