If your website can be complied into static assets, then InfinityFree can host those files. You just have to build the site on your own machine before uploading.
The “Node.js” support in premium hosting isn’t really what you might imagine so please just take that with a grain of salt.
You can host Node.js applications on a premium plan, but it runs through Passenger, which is a quite restrictive setup. Maybe you can use it to run a Node.js web server that compiles the .ts and .tsx files during startup and then serves the files, but I don’t have enough experience with either Passenger, Typescript or React to tell you for sure.
But it seems like a far more practical solution to just compile your .tsx modules outside of the hosting (like your own computer or a CI environment) and just upload the generated files. I can guarantee you that that will work, and is best for the performance of your website too, both on free hosting and premium hosting.
If you want to get premium hosting for this, then you are welcome to do so. But I’m not going to recommend it if I don’t think that it’s a good fit for you. And in this case, I would recommend the external build instead.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
