Dynamic components vs render functions


Hello !

I know there is already a thread about this but it’s in the issue category, and it has been marked resolved with only a pretty vague answer, so I thought it would be better to open a general discussion about this topic.

So I read the render functions documentation page and thought about the use case they gave, and I figured that you can achieve the same result with a template based component, using dynamic components.

Since these features seem quite similar in their potential use case, shouldn’t their respective documentation page reference each other ?

What is a real use case where you would benefit from using render functions rather than dynamic components ?

Here is a codesandbox to illustrate: https://codesandbox.io/embed/xo56111ypp