Since Fedora tends to have pretty solid security practices, would it be possible for Fedora to package React? NPM has been victim to a few attacks at this point which makes it hard for me to trust. I would prefer to only use distro packages but hardly no one is packaging Reactjs.
My first question would be what is your use case? Do you want to have the libraries for development or do you want Fedora to provide libraries for production?
I am asking, because in my experience in JS world what is used for development typically looks quite different then what is used for production, while we still tend to call it e.g. React.
Also, there seems to be dozens of components looking here
In any case, I am afraid that Fedora is missing essential JS tools and the reason is that JS world generally quite incompatible with Fedora (in world everything is bundled). So while I don’t want to say this is impossible, there would be a lot of preparation work needed to be done. And one would really need to be careful about the scope.
This, plus: What is the benefit of packaging React for Fedora?
In an app developers world (be it React or something else), it is key to version-pin and bundle dependencies so that what you ship in production works as intended (not withstanding Vit’s comment about the actual environment/code shipped).
It seems the only good reason to package it would be if others packages required (or build-required) it.