# LiveView LiveComponents article

**URL:** <https://forum.elixirforum.com/t/liveview-livecomponents-article/27402>\
**Category:** Guides/Tuts/Tips/Info\
**Tags:** blog-posts, phoenix, liveview, livecomponents\
**Created:** [December 6, 2019, 3:27pm UTC](https://forum.elixirforum.com/t/liveview-livecomponents-article/27402 "2019-12-06T15:27:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![imartinat](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/imartinat/32/15554_2.png) [@imartinat](https://forum.elixirforum.com/u/imartinat)\
**Post date:** [December 18, 2019, 7:16am UTC](https://forum.elixirforum.com/t/liveview-livecomponents-article/27402/3 "2019-12-18T07:16:26Z")

</div>

Hi,

Could you please update the `mount` definitions in the LiveComponents to contain only the socket? ([Phoenix.LiveComponent — Phoenix LiveView v1.2.5](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveComponent.html#c:mount/1)) . If we follow your article, and add internal state to the LiveComponents, it doesn’t work : [Livecomponent: assign @value not available in eex template. Why such behaviour? - #8 by Softknobs](https://forum.elixirforum.com/t/livecomponent-assign-value-not-available-in-eex-template-why-such-behaviour/27627/8)  
Thanks.

---

_[View the full topic](https://forum.elixirforum.com/t/liveview-livecomponents-article/27402)._
