# Does elixir phoenix pair with React?

**URL:** <https://forum.elixirforum.com/t/does-elixir-phoenix-pair-with-react/37305>\
**Category:** Questions\
**Tags:** phoenix, phoenix\_html, react, elixir-project, front-end\
**Created:** [February 4, 2021, 8:31am UTC](https://forum.elixirforum.com/t/does-elixir-phoenix-pair-with-react/37305 "2021-02-04T08:31:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guelor](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/guelor/32/20482_2.png) [@Guelor](https://forum.elixirforum.com/u/Guelor)\
**Post date:** [February 4, 2021, 8:31am UTC](https://forum.elixirforum.com/t/does-elixir-phoenix-pair-with-react/37305/1 "2021-02-04T08:31:31Z")

</div>

I am thinking of building a project with phoenix and react, is this a bad idea, what type issues will I face if I decided to go along with this?

---

<div class="post-metadata">

**Author:** ![kokolegorille](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kokolegorille/32/4784_2.png) [@kokolegorille](https://forum.elixirforum.com/u/kokolegorille)\
**Post date:** [February 4, 2021, 8:55am UTC](https://forum.elixirforum.com/t/does-elixir-phoenix-pair-with-react/37305/2 "2021-02-04T08:55:02Z")

</div>

It’s more complicate, and token authentication is different from session authentication.

You might also want to take care of SEO…

There are some libraries to render react components server side.

But using both is really nice. It’s liveview without liveview 🙂

And You can use PWA with this combination.

I like to separate backend from frontend, and any combination of Phoenix with Vue, Svelte, Flutter, React, Elm etc. is nice. I know there is a js client, and a dart client for Phoenix channels, but I’am not sure for Elm.

I like React because of the functional nature of UI. Now, You can use functional components, with hooks. It is like FP, functions, compositions everywhere.

Frontend is as complex as backend. You need superskill to build a nice UI.
