187 karma · joined August 26, 2022
They're moving from "making awesome code editor" into yet another "buy our ai" product
I'm always suprised reading statements like that. No offence, but maybe you're in wrong career if you don't want to learn how most popular and important tools of today work... Not to mention that its so simple you can learn everything required to be efficient during lunch break
Function components removed stuff like getDerivedStateFromProps and many other things, introduced clear and simple way of component updating (as in "prop reference changed, I'm gonna render now").
For state we got redux toolkit, which simplified reducers, zustand and recoil/jotai and mobx which allow you to pick based on your needs instead of writing million reducers or passing state to children when you don't really need it.
Its not "react got hard", its people unable to adapt to changing world. Every mainstream framework in reality got streamlined, simpler and more effecient to create apps.
I can't really agree with that when Express and Django exists in this world. But Laravel is indeed amazing piece of software
What happens when you use modern apps on iphone 3 or first nexus phone? I don't understand, do people think that with better, faster computers and network speed we should focus on smaller and smaller apps and websites?
"Hono
Fast, Lightweight, Web-standards
Runs on any JavaScript runtime."
Even then, most of the times it doesn't take even an hour because majority of people will grab default config or use something that allows no-config (parcel, vite, etc)... Some are fine with default CRA for a long time until they really need something custom, for example.
This is a recipy for disaster imo, LLMs are not that good yet to give them the ability to act on their own
Funny enough, I got our work project working with yarn berry (whatever number this was this summer) in 10-15 minutes, but I couldn't manage to do the same with bun. I'll try again now after they got few minor updates probably just to see if its better now...
Than what? I couldn't imagine react being hard, maybe for novice developers that just start with programming in general.
> React and other frameworks spent so much effort abstracting the render loop
Considering how big is community adoption and teams that are working on big 3 frameworks, they're doing it not "just because" and not to make your app slower. There are reasons for this and this new library will learn them as well, just like svelte did with their reactive variables approach.
There is, actually, a lot of differences. Expensive machines have that cheap ones don't:
- multiple (2+) boilers so you can pour 2 caps/pour cap and steam/etc
- a lot less noise
- more consistent temperatures
- preheating
- as mentioned, more consistent steamers, but also precise control over them
- built-in grinder (most of the times mediocre one, but better than none at all, albeit most people who follow this hobby just buy a separate one)
- sometimes they can be controlled remotely
- other smaller things
Most importantly, they're usually a lot more reliable and well-built.
But yes, taste-wise difference will not be substantial, its more like paying for your own comfort if you really want to invest in coffee. Hand lever brewers can be just as good for a fraction of a price if you don't mind to take extra steps. Makes it more fun for some people actually.
This is exactly the problem. Humans write code for humans, not for tailwind specialists and bots. It should be clear and easy to read unless there is a valid reason for weird code (optimisations, hacks that don't work otherwise etc). Tailwind introduces yet another convention where it is absolutely pointless to do so.
but once you got to the point where you open a file and see 20+ classnames stacked in every div, which makes them unreadable, its just a mess. Love-hate relationships with this tool, but the idea is very good and this article mentions biggest selling points - its easy and very fast to use.
> But I still don't understand why most companies still focus on React Native for their cross platform development.
Because it uses native components, which leads to native feeling apps. For bonus points, they added new engine that makes performance differences between react-native and native apps very small (unless you're working on interval trading terminal or games, which flutter does not handle as well). Plus its simply easier and entry barrier is non existent, therefore its cheaper.
> Google needs to do better marketing for the technology.
Dart as a language is a bad marketing for their technology. I also hate the amount of boilerplate I have to write and how weird it looks compared to RN/SwiftUI/Compose.