# GraphQL stuck when running in App (runs fine in playground)

**URL:** <https://community.neo4j.com/t/graphql-stuck-when-running-in-app-runs-fine-in-playground/7157>\
**Category:** GraphQL & GRANDstack\
**Created:** [May 6, 2019, 12:51pm UTC](https://community.neo4j.com/t/graphql-stuck-when-running-in-app-runs-fine-in-playground/7157 "2019-05-06T12:51:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mckenzma](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mckenzma/32/78_2.png) [@mckenzma](https://community.neo4j.com/u/mckenzma)\
**Post date:** [May 6, 2019, 12:51pm UTC](https://community.neo4j.com/t/graphql-stuck-when-running-in-app-runs-fine-in-playground/7157/1 "2019-05-06T12:51:33Z")

</div>

I am working on a web ui that is primarily an interactive map. I am applying filters to narrow results for the query. When running the query in the playground it runs quickly and easily. However, sometimes the query gets "locked" when it runs in the application. I have an inkling it might be due to how some map markers are being rendered; however, in the past the query has run just fine, and then sometimes locks up. So the performance seems a bit inconsistent.

Has anyone else had an issue like this?

---

<div class="post-metadata">

**Author:** ![lyonwj](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/lyonwj/32/27358_2.png) [@lyonwj](https://community.neo4j.com/u/lyonwj)\
**Post date:** [May 6, 2019, 6:55pm UTC](https://community.neo4j.com/t/graphql-stuck-when-running-in-app-runs-fine-in-playground/7157/2 "2019-05-06T18:55:55Z")

</div>

Can you share some code to show how the query data is being used? Specifically, this is probably the children props of the `Query` component.

---

<div class="post-metadata">

**Author:** ![mckenzma](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mckenzma/32/78_2.png) [@mckenzma](https://community.neo4j.com/u/mckenzma)\
**Post date:** [May 6, 2019, 7:14pm UTC](https://community.neo4j.com/t/graphql-stuck-when-running-in-app-runs-fine-in-playground/7157/3 "2019-05-06T19:14:33Z")

</div>

I figured out that i was using a slightly varied version of the query between the application and the playground. When I used the query from the playground in the app, the "locking up" went away.

---

<div class="post-metadata">

**Author:** ![mckenzma](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mckenzma/32/78_2.png) [@mckenzma](https://community.neo4j.com/u/mckenzma)\
**Post date:** [May 6, 2019, 7:17pm UTC](https://community.neo4j.com/t/graphql-stuck-when-running-in-app-runs-fine-in-playground/7157/4 "2019-05-06T19:17:08Z")

</div>

This was tied to exploring the implementation of nested filters.
