WordPress suits content sites where editors publish daily and budgets are tight. Custom development wins when the site is the product: unique functionality, performance, integrations or anything users log into. Maintenance is the hidden cost on both sides; plugins rot, and custom code needs a developer relationship.
Have a question specific to your product?
Share the context and I will reply with a practical next step.