# Swiftype Crawling SPAs based on Create React App

**URL:** <https://discuss.elastic.co/t/swiftype-crawling-spas-based-on-create-react-app/298867>\
**Category:** Elastic Search\
**Tags:** elastic-site-search\
**Created:** [March 4, 2022, 5:22pm UTC](https://discuss.elastic.co/t/swiftype-crawling-spas-based-on-create-react-app/298867 "2022-03-04T17:22:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![titanian221](https://avatars.discourse-cdn.com/v4/letter/t/c5a1d2/32.png) [@titanian221](https://discuss.elastic.co/u/titanian221)\
**Post date:** [March 4, 2022, 5:22pm UTC](https://discuss.elastic.co/t/swiftype-crawling-spas-based-on-create-react-app/298867/1 "2022-03-04T17:22:57Z")

</div>

I have a CRA based SPA, that returns dynamic content. The meta tags and content is based on queries that happen and are rendered clientside. What's the typical client side rendered solution for enabling the Swiftype crawler to index such a site? The documentation says javascript based SPAs aren't crawled, how have others handled this?

Thanks!

---

<div class="post-metadata">

**Author:** ![Carlos\_D](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlos_d/32/126245_2.png) [@Carlos\_D](https://discuss.elastic.co/u/Carlos_D)\
**Post date:** [March 30, 2022, 2:32pm UTC](https://discuss.elastic.co/t/swiftype-crawling-spas-based-on-create-react-app/298867/2 "2022-03-30T14:32:35Z")

</div>

hey @titanian221 , welcome to the Community!

As you mentioned, the crawler can't index dynamic content, including SPAs.

Please check our [javascript crawling section](https://swiftype.com/documentation/site-search/crawler-troubleshooting#javascript). It mentions the possibility of using middleware rendering services like [prerender.io](https://prerender.io/).

Other solutions that can be implemented include [Next.js](https://nextjs.org/).

As long as the web page is available as static HTML, the crawler should be able to index it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 27, 2022, 2:32pm UTC](https://discuss.elastic.co/t/swiftype-crawling-spas-based-on-create-react-app/298867/3 "2022-04-27T14:32:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
