# \#spa

**URL:** https://forum.elixirforum.com/tag/spa/154.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Phoenix LiveView vs SPA](https://forum.elixirforum.com/t/phoenix-liveview-vs-spa/34743)

<div class="topic-metadata">

**Author:** [@marciol](https://forum.elixirforum.com/u/marciol)\
**Replies:** 90\
**Last updated:** [November 15, 2025, 3:24pm UTC](https://forum.elixirforum.com/t/phoenix-liveview-vs-spa/34743 "2025-11-15T15:24:15Z")

</div>

Please, let me know if this kind of discussion already took place in another topic . Hi all, how do you consider if is better to build an app around SPA paradigm instead of use Server Side Rendering technologies. I wa…

---

## [Make LiveView behave like a Single Page App, examples?](https://forum.elixirforum.com/t/make-liveview-behave-like-a-single-page-app-examples/69053)

<div class="topic-metadata">

**Author:** [@woohaaha](https://forum.elixirforum.com/u/woohaaha)\
**Replies:** 5\
**Last updated:** [January 29, 2025, 4:01am UTC](https://forum.elixirforum.com/t/make-liveview-behave-like-a-single-page-app-examples/69053 "2025-01-29T04:01:19Z")

</div>

I’m looking for examples where people took LiveView and made it behave like a Single Page Application. This would mean the page’s HTML loads instantly on every click, and the data follows later (but never blocks). I hav…

---

## [How to integrate Phoenix with a React SPA](https://forum.elixirforum.com/t/how-to-integrate-phoenix-with-a-react-spa/47096)

<div class="topic-metadata">

**Author:** [@hurricanenate](https://forum.elixirforum.com/u/hurricanenate)\
**Replies:** 10\
**Last updated:** [January 14, 2024, 9:33pm UTC](https://forum.elixirforum.com/t/how-to-integrate-phoenix-with-a-react-spa/47096 "2024-01-14T21:33:12Z")

</div>

My company is taking its first steps in integrating an existing React SPA into a brand-new Phoenix app. We’ve set up auth using phoenix.gen.auth, and are looking at the first case where we need Phoenix-generated data in …

---

## [Thoughts and feeling about mixing Elm with Phoenix?](https://forum.elixirforum.com/t/thoughts-and-feeling-about-mixing-elm-with-phoenix/36647)

<div class="topic-metadata">

**Author:** [@IVR](https://forum.elixirforum.com/u/IVR)\
**Replies:** 28\
**Last updated:** [July 24, 2022, 10:44am UTC](https://forum.elixirforum.com/t/thoughts-and-feeling-about-mixing-elm-with-phoenix/36647 "2022-07-24T10:44:18Z")

</div>

Hi all, I’ve seen a number of related threads in the past, but I’d still be very curious to hear an up-to-date opinion on this topic. I’m new to web development, I started off with learning backend frameworks and of th…

---

## [Rough ratio of SPA + API vs full stack elixir users?](https://forum.elixirforum.com/t/rough-ratio-of-spa-api-vs-full-stack-elixir-users/48064)

<div class="topic-metadata">

**Author:** [@kanishka](https://forum.elixirforum.com/u/kanishka)\
**Replies:** 1\
**Last updated:** [May 30, 2022, 9:54pm UTC](https://forum.elixirforum.com/t/rough-ratio-of-spa-api-vs-full-stack-elixir-users/48064 "2022-05-30T21:54:53Z")

</div>

As someone just getting acquainted with elixir, I am curious about a rough guess of people using elixir full stack versus people using it to implement APIs for a SPA. I understand that no one will have concrete data, but…

---

## [About switching from SSR (and LiveView) to Phoenix API mode with GraphQL](https://forum.elixirforum.com/t/about-switching-from-ssr-and-liveview-to-phoenix-api-mode-with-graphql/42260)

<div class="topic-metadata">

**Author:** [@Sanjibukai](https://forum.elixirforum.com/u/Sanjibukai)\
**Replies:** 1\
**Last updated:** [September 10, 2021, 4:06am UTC](https://forum.elixirforum.com/t/about-switching-from-ssr-and-liveview-to-phoenix-api-mode-with-graphql/42260 "2021-09-10T04:06:37Z")

</div>

Hello everybody, Until now, I mostly did SSR websites/apps in contrast to API backend with a SPA or mobile front-end, though with many of them having light (jQuery) to medium (Vue) JS parts. Then came out LiveView whic…

---

## [How to trigger a task on the backend using Absinthe](https://forum.elixirforum.com/t/how-to-trigger-a-task-on-the-backend-using-absinthe/40136)

<div class="topic-metadata">

**Author:** [@woohaaha](https://forum.elixirforum.com/u/woohaaha)\
**Replies:** 1\
**Last updated:** [June 1, 2021, 2:16am UTC](https://forum.elixirforum.com/t/how-to-trigger-a-task-on-the-backend-using-absinthe/40136 "2021-06-01T02:16:05Z")

</div>

Hi all, I have an app with a Vue frontend and Absinthe handling Queries and Mutations. I’d like the frontend to offer a \[confirm email\] link where the user clicks on it, and it then triggers an email to be sent to that…

---

## [Deploying a Phoenix backend with a separate frontend](https://forum.elixirforum.com/t/deploying-a-phoenix-backend-with-a-separate-frontend/38356)

<div class="topic-metadata">

**Author:** [@IVR](https://forum.elixirforum.com/u/IVR)\
**Replies:** 5\
**Last updated:** [March 22, 2021, 1:38pm UTC](https://forum.elixirforum.com/t/deploying-a-phoenix-backend-with-a-separate-frontend/38356 "2021-03-22T13:38:56Z")

</div>

Hi all, I’m wondering if anyone would be able to recommend some options for deploying a Phoenix backend with a separate frontend. If I have a Phoenix-only app, then I could use something like Gigalixir. If, on the other…

---

## [Default plugs for \`:api\` (SPA)](https://forum.elixirforum.com/t/default-plugs-for-api-spa/31749)

<div class="topic-metadata">

**Author:** [@thojanssens1](https://forum.elixirforum.com/u/thojanssens1)\
**Replies:** 0\
**Last updated:** [May 23, 2020, 5:27am UTC](https://forum.elixirforum.com/t/default-plugs-for-api-spa/31749 "2020-05-23T05:27:03Z")

</div>

Hello, Default router pipelines include: pipeline :browser do plug :accepts, \["html"\] plug :fetch\_session plug :fetch\_flash plug :protect\_from\_forgery plug :put\_secure\_browser\_headers end pipeline :api do …

---

## [Combining LiveView with SPAs](https://forum.elixirforum.com/t/combining-liveview-with-spas/26321)

<div class="topic-metadata">

**Author:** [@strzibny](https://forum.elixirforum.com/u/strzibny)\
**Replies:** 3\
**Last updated:** [October 25, 2019, 12:05pm UTC](https://forum.elixirforum.com/t/combining-liveview-with-spas/26321 "2019-10-25T12:05:43Z")

</div>

Hi all, I have a general question on whether anyone tried to combine LiveView and SPAs together? The thing is I can see nice use-cases for LiveView and would prefer avoiding building all those GraphQL mutations and fron…

---

## [Escaping the SPA rabbit hole with modern Rails – Jorge Manrubia – Medium](https://forum.elixirforum.com/t/escaping-the-spa-rabbit-hole-with-modern-rails-jorge-manrubia-medium/20080)

<div class="topic-metadata">

**Author:** [@pillaiindu](https://forum.elixirforum.com/u/pillaiindu)\
**Replies:** 63\
**Last updated:** [February 28, 2019, 1:29am UTC](https://forum.elixirforum.com/t/escaping-the-spa-rabbit-hole-with-modern-rails-jorge-manrubia-medium/20080 "2019-02-28T01:29:01Z")

</div>

https://medium.com/@jmanrubia/escaping-the-spa-rabbit-hole-with-turbolinks-903f942bf52c The author of this post has some views about the hardships of gonig the SPA route. I had to agree with maximum of his points.

---

## [My experience w/ react & phoenix on my side project](https://forum.elixirforum.com/t/my-experience-w-react-phoenix-on-my-side-project/19654)

<div class="topic-metadata">

**Author:** [@gdub01](https://forum.elixirforum.com/u/gdub01)\
**Replies:** 2\
**Last updated:** [January 25, 2019, 3:26pm UTC](https://forum.elixirforum.com/t/my-experience-w-react-phoenix-on-my-side-project/19654 "2019-01-25T15:26:13Z")

</div>

Hey guys - I just finished my side project - misheneye.com (creates brand guides) - recently and used an spa - react (nextjs.org flavor). Wanted to share some thoughts.. Advantages I was able to use react’s ecosystem. …

---

## [Tired of developing Single Page Applications](https://forum.elixirforum.com/t/tired-of-developing-single-page-applications/19623)

<div class="topic-metadata">

**Author:** [@hectorsq](https://forum.elixirforum.com/u/hectorsq)\
**Replies:** 7\
**Last updated:** [January 24, 2019, 10:54am UTC](https://forum.elixirforum.com/t/tired-of-developing-single-page-applications/19623 "2019-01-24T10:54:04Z")

</div>

I developed projects using a JSON API back end and Single Page Applications in Angular 1 and Ember. I concluded that it is too much work, and that it is an over-engineered solution. I am tired of SPAs so I have plans to…

---

## [Thoughts about Single Page Applications](https://forum.elixirforum.com/t/thoughts-about-single-page-applications/865)

<div class="topic-metadata">

**Author:** [@boriscy](https://forum.elixirforum.com/u/boriscy)\
**Replies:** 21\
**Last updated:** [August 14, 2018, 12:22pm UTC](https://forum.elixirforum.com/t/thoughts-about-single-page-applications/865 "2018-08-14T12:22:07Z")

</div>

I have been working with a SPA application using Phoenix, React + Redux so far I see the benefits of creating SPA the main one is that it becomes simpler to convert your app into mobile but so far it takes way more time …

---

## [Umbrella for an SPA app?](https://forum.elixirforum.com/t/umbrella-for-an-spa-app/14735)

<div class="topic-metadata">

**Author:** [@ngw](https://forum.elixirforum.com/u/ngw)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 3:56pm UTC](https://forum.elixirforum.com/t/umbrella-for-an-spa-app/14735 "2018-06-18T15:56:46Z")

</div>

Hi, I’m trying to figure out if I should start building an umbrella app or not. The app is going to be 90% a SPA, meaning that I don’t exclude having something (visually functionally) outside that single page but most o…

---

## [Sending cookies for stateless SPA authentication using JWT](https://forum.elixirforum.com/t/sending-cookies-for-stateless-spa-authentication-using-jwt/14220)

<div class="topic-metadata">

**Author:** [@jstlroot](https://forum.elixirforum.com/u/jstlroot)\
**Replies:** 18\
**Last updated:** [May 22, 2018, 8:40pm UTC](https://forum.elixirforum.com/t/sending-cookies-for-stateless-spa-authentication-using-jwt/14220 "2018-05-22T20:40:13Z")

</div>

Hello y’all! I’m very new to the Elixir/Phoenix beauty but very excited to learn more! I’m building a Phoenix json API with a (separate) Vue.js SPA. I’m at the point where I need to build a secured authentication syste…

---

## [Develop data driven SPAs with Elixir, Cowboy and React](https://forum.elixirforum.com/t/develop-data-driven-spas-with-elixir-cowboy-and-react/4356)

<div class="topic-metadata">

**Author:** [@Angarsk8](https://forum.elixirforum.com/u/Angarsk8)\
**Replies:** 0\
**Last updated:** [March 29, 2017, 2:43pm UTC](https://forum.elixirforum.com/t/develop-data-driven-spas-with-elixir-cowboy-and-react/4356 "2017-03-29T14:43:01Z")

</div>

Hi guys, I’d like to share this small project with you, it’s an example application that shows how to use Elixir and Cowboy 1.1 in conjunction with React, Redux and Redux Saga to create data driven Single Page Applicati…

---

## [Embedded Elixir/Phoenix in a webpage vs. Frontend communicating with a Phoenix Backend](https://forum.elixirforum.com/t/embedded-elixir-phoenix-in-a-webpage-vs-frontend-communicating-with-a-phoenix-backend/1330)

<div class="topic-metadata">

**Author:** [@sashaafm](https://forum.elixirforum.com/u/sashaafm)\
**Replies:** 39\
**Last updated:** [October 23, 2016, 7:03pm UTC](https://forum.elixirforum.com/t/embedded-elixir-phoenix-in-a-webpage-vs-frontend-communicating-with-a-phoenix-backend/1330 "2016-10-23T19:03:30Z")

</div>

I’d like to know what are your opinion between building a Web App using embedded Elixir/Phoenix (.eex files), where the data is being passed with the render function to the template, like so: \<%= if @var do %\> It is o…
