Recently Google recommended strongly against using dynamic rendering as a workaround for JavaScript sites going forward, Google updated its help documentation to strongly say not to use it. But that does not mean it would hurt your rankings, today, to use dynamic rendering compared to server-side rendering.