What would you do? (Rebuilding a large e-commerce website from scratch)
🗣️discussionfront-end
Hellow fellow Front-end Developers,
I have convinced my company to look into improving our currrent frontend, which is a symfony twig + jquery/custom ts solution, to a modern framework.
The idea would be a frontend framework that handles SSR that connects to the symfony REST api for data/auth etc. From the start the company was backend focused but the frontend side is growing and getting more requests. I believe its a good idea to move to a modern framework mostly to ship "faster" because we would be maintaining less custom solution and be using more "off-the-shelve" packages/libraries.
So I was wondering which direction you (hopefully experienced architects who have setup multiple projects but also curious in general) would go in the following case:
- Multiple websites (multi-tenant) -- Two different templates look/feels possible third template in the future (but also with theming) -- Possibility for multiple languages - 8 million+ customers across multiple (european) countries and websites. We do self-host. - A/B Testing is very important - Analytics is very important - Would like to support no-js ordering of items if anything goes wrong on the client js side - SEO being very important - Performance being very important
I've looked into react, angular and vue (svelte being very solid but too young for our taste) and it feels react is the most mature option with the most options (nextjs, react router, tanstack router vs nuxt and angular universal)
What would you pick? And what would your solution be for the following and why? (Could also be non-mentioned frameworks and something completely different) - Authentication - Forms - Components - Design system (our designers work in figma) - Testing - Security - Telemetry - Deployment (scaleable) - CI/CD - Caching - And which libraries/packages would you recommend to help in specific cases I have not mentioned here but are very relevant in your opinion?