Hey everyone! I'm looking for some advice on whether I should stick with React or try out Vue, particularly in the context of integrating with Unity WebGL. I've been working with React for about two years as a freelancer, and I'm comfortable with it since I've shipped projects using it.
But now that I'm starting my own startup—where I want everything to be top-notch—I'm reconsidering my tech stack. I've set up the backend with Golang, and the frontend framework is next on my list. My web app will be like a mix of Duolingo and Reddit, with Unity WebGL playing a crucial role in the development. It's my first time working with Unity in this way, and I want to ensure I pick a frontend that lessens complexity and potential issues.
Alongside this, I'm building a Flutter mobile app and plan to synchronize some of the UI and logic with what I develop for the web. Thus, I'm hoping to avoid any frontend setup that might cause headaches down the line.
React seems to offer a lot of examples and resources for Unity WebGL integration, while Vue's appeal makes me curious, though I am a bit worried about its reliability for this kind of project. For anyone with experience, do you think I should stay with React or give Vue a shot?
5 Answers
In my experience, stick to what you know best, especially for a startup. The comfort and reliability you have with React could be more beneficial than starting fresh with Vue, especially if you're handling Unity WebGL integration for the first time.
Honestly, both React and Vue can work with Unity WebGL, so it's more about personal preference. You'll be exporting JavaScript scripts from Unity that you can import into either framework. Focus on comfort; if you know React inside out, it might be easier to stick with it for this project—especially since you're already familiar with its ecosystem.
If you’re focused on sticking with a proven option, React is solid, especially since you have prior experience. Vue can be fun and easier to learn, but React might save time and headache for your current project.
I think you should give Vue a try! It's pretty straightforward to learn, and many find it less complicated than React. Plus, there's a unity-webgl package that can help with the integration, making the process smoother regardless of the choice you make.
If learning something new is the goal, you might look into Svelte instead. A few folks in the community really like it for its simplicity and efficiency compared to both React and Vue.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically