3
msdsk
1y

Why the fuck is react so fucking verbose? Why the fuck in almost every single file i need to use dispatch=useDispatch(), why the fuck do i even need to import React from react, like, holy fuck, figure this shit yourself, you're digesting the files anyway.

Comments
  • 2
    Your mixing up react and javascript features. Import is javascript and not react so you have the same with other js libraries.
  • 3
    @Voxera
    Nah, I just think that react pretends to not be a framework while it absolutely is. Vue does away with all these hoops by deeply integrating into the tooling system and i think it's beautiful.
  • 2
    @msdsk I think you've got a point. Even Microsoft is doing something similar nowadays with their ASP stuff, having global-level imports for common ASP tasks.
  • 1
    @msdsk I have an issue with React pretending to *not* be a framework as you mentioned. I don't necessarily hate it, but would much rather use something else like Vue or Svelte.
  • 1
    Leave this nonsense behind, just come to the backend ;)
Add Comment