# React framework enabling for web App

**URL:** <https://community.dynatrace.com/t/react-framework-enabling-for-web-app/38732>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, user-actions, application-monitoring, user-sessions\
**Created:** [March 7, 2023, 8:00pm UTC](https://community.dynatrace.com/t/react-framework-enabling-for-web-app/38732 "2023-03-07T20:00:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [March 7, 2023, 8:00pm UTC](https://community.dynatrace.com/t/react-framework-enabling-for-web-app/38732/1 "2023-03-07T20:00:32Z")

</div>

Hello Gents

as attached react framework should be enabled for this monitored app.

I’ve enabled JQuery as seen, but didn’t see react mentioned explicitly.

I’d be grateful for guidance.

 ![Async requests and single page apps .png](https://global.discourse-cdn.com/dynatrace/original/3X/6/b/6bceef2c35204199b7b704b39e1e976c182c0368.png)

![React enablement .png](https://global.discourse-cdn.com/dynatrace/original/3X/6/4/6455304940224d8f72de4f6f83d2bda7e2e80124.png)

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [March 7, 2023, 8:24pm UTC](https://community.dynatrace.com/t/react-framework-enabling-for-web-app/38732/2 "2023-03-07T20:24:41Z")

</div>

React is concerned only with rendering the UI, so you can activate Generic Support.

As there are so many different JavaScript frameworks out there, we focus our support on the most popular of them, but that doesn’t mean that you don’t get XHR actions for frameworks that aren’t listed on the configuration pages. For those that are listed, Dynatrace offers special support, while the general settings cover all other popular frameworks such as React, Ember.js, Google Web Toolkit, and Vanilla JavaScript implementations.

Source: [Configure Real User Monitoring Classic to capture XHR actions — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/capture-xhr-actions#supported-javascript-frameworks)

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [March 8, 2023, 1:16am UTC](https://community.dynatrace.com/t/react-framework-enabling-for-web-app/38732/3 "2023-03-08T01:16:29Z")

</div>

For Frameworks not specifically listed you can use the [generic support](https://www.dynatrace.com/support/help/shortlink/capture-xhr-actions#enable-generic-js-frameworks)&nbsp;and&nbsp;[timed action support](https://www.dynatrace.com/support/help/shortlink/capture-xhr-actions#enable-timed-action-support)

**XHR** , **fetch()** or **timed action** support should get you XHR actions for most of the frameworks not listed or your vanilla JS code.

---

<div class="post-metadata">

**Author:** ![Andy\_Tommo](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@Andy\_Tommo](https://community.dynatrace.com/u/Andy_Tommo)\
**Post date:** [March 8, 2023, 6:07pm UTC](https://community.dynatrace.com/t/react-framework-enabling-for-web-app/38732/4 "2023-03-08T18:07:47Z")

</div>

For single page applications, you can also change the way page change events are captured by using the following settings:

Under “settings\>capturing\>advanced setup\>custom configuration properties” use the following options (without quotes) to change the way page change events are captured:

“vncm=0” = URL and hash page changes

“vncm=1” = URL page changes only (Default)

“vncm=2” = Hash page changes only

As a general rule, we tend to always enable the generic support for XHR and fetch() request.
