Why is React used in fivem?
I would like to know the advantages of using React in fivem.
I am learning nui, and I think that if I can develop with react + typescript, the quality of the scripts will be better, but how is it really?
The reason is likely just people know it. Same for people who use Svelte, Vue or Solid.
I actually made one with javascript and one with Typescript + React, and I found react to be by far the easiest to maintain.
It is also very easy to understand and handle because you can enforce variable type declarations.
Don’t quote me but I feel as if React is a tad bit more on the optimized side.