Next.js or WordPress — which is better for a serious project?
The right answer depends on business goals, CMS requirements, scale, performance and the amount of custom functionality the product needs.

Next.js is a strong choice when performance, frontend flexibility, custom logic and scale are among the main priorities of the project.
WordPress still works extremely well when editors update content frequently, the team wants a familiar CMS workflow or the project benefits from an established plugin and commerce ecosystem.
WooCommerce makes particular sense when its ecosystem already covers the operational needs. More custom commerce experiences can justify a headless or Next.js approach.
The best technology is not the most fashionable one. It is the one that solves the business problem with the least unnecessary complexity.