---
title: "Discussion on \"How to switch between Angular SSR and CSR based on detecting user-agent\" | Hashnode"
description: "Discussion on \"How to switch between Angular SSR and CSR based on detecting user-agent\". An easy way to have Dynamic SSR"
url: "https://hashnode.com/posts/how-to-switch-between-angular-ssr-or-csr-based-on-detecting-user-agent/625d070a56e9d1067f601d96"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to switch between Angular SSR and CSR based on detecting user-agent](https://adnanebrahimi.hashnode.dev/how-to-switch-between-angular-ssr-or-csr-based-on-detecting-user-agent?utm_source=hashnode&utm_medium=feed)

An easy way to have Dynamic SSR

Apr 18, 2022 · 3 min read · adnanebrahimi.hashnode.dev  
Updated Apr 19, 2022  
Read the article

-   [#angular](https://hashnode.com/tag/angular)
-   [#ssr](https://hashnode.com/tag/ssr)
-   [#seo](https://hashnode.com/tag/seo)

## Written by

[Adnan Ebrahimi](https://hashnode.com/@adnanebrahimi)

@adnanebrahimi

  
[View profile](https://hashnode.com/@adnanebrahimi)

Having fun with coding

I work for ControlAdad as Principal Engineer. As a Principal Engineer I am life long learner and always push my self to learn new things that may help our life easier. I am helping our teams to architect their project to be scalable and maintainable and meet our project needs.

## Responses 1

Markdown supported · ⌘↵ to post

[dl](https://hashnode.com/@dl91)

[Oct 15, 2022](https://hashnode.com/posts/how-to-switch-between-angular-ssr-or-csr-based-on-detecting-user-agent/625d070a56e9d1067f601d96/comment/634a25c97b9ff550634415a5)

It's very useful. Can I integrate your csr-ssr repo to another Angular SSR starter kit ? I will note you as an author :D

[Adnan Ebrahimi](https://hashnode.com/@adnanebrahimi)

[Oct 15, 2022](https://hashnode.com/posts/how-to-switch-between-angular-ssr-or-csr-based-on-detecting-user-agent/625d070a56e9d1067f601d96/comment/634a25c97b9ff550634415a5#reply-634a4bf87b9ff5506344179d)

Sure! Why not ;-) Also, Don't forget to like the article :-)
