3 ms·
> And your app is tiny. It's got like two source files. If the same app had been written by a typical team of React devs, it would be >1000 source files and 50
by baobabKoodaa 2y ago
> And your app is tiny. It's got like two source files.
If the same app had been written by a typical team of React devs, it would be >1000 source files and 50K LoC. That's not an argument against my approach, it's an argument in favor of it.
- palmfacehn 2y agoThe SPA version would unmanageable without the latest 4th generation JS build tools. Spend an afternoon reading the manual for the configs. Watch the output of 'pnpm list' break your terminal environment when you try piping it through 'less'.
- quantadev 2y agoYou can use React with or without SPAs. Not saying you didn't know that. Just pointing out they're separable.
- quantadev 2y agoYou have it exactly backwards. Since React does all the DOM updates automatically, my massive project, with 100s of thousands of TypeScript LOC, has zero DOM calls in it. lol.