# Using function components for template inheritance

**URL:** <https://forum.elixirforum.com/t/using-function-components-for-template-inheritance/49678>\
**Category:** Questions\
**Tags:** phoenix\
**Created:** [August 20, 2022, 5:51pm UTC](https://forum.elixirforum.com/t/using-function-components-for-template-inheritance/49678 "2022-08-20T17:51:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![conradfr](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/c/ed8c4c/32.png) [@conradfr](https://forum.elixirforum.com/u/conradfr)\
**Post date:** [August 20, 2022, 6:47pm UTC](https://forum.elixirforum.com/t/using-function-components-for-template-inheritance/49678/4 "2022-08-20T18:47:30Z")

</div>

Thanks for your reply @gpopides , I see your point.

I don’t think it solves every problems like the "page extends layout"solves over the “layout → content” does but I’ll try to think more in term of components I guess.

“Modern” frontend frameworks don’t exactly need the same thing as SSR because you’ll usually rely on a global state store (or some two way communication/event method) that will allow your UI to compose itself.

---

_[View the full topic](https://forum.elixirforum.com/t/using-function-components-for-template-inheritance/49678)._
