Skip to content

Commit

Permalink
Update docs/platforms/javascript/guides/react/features/component-trac…
Browse files Browse the repository at this point in the history
…king.mdx

Co-authored-by: Liza Mock <[email protected]>
  • Loading branch information
0Calories and lizokm committed Feb 9, 2024
1 parent 0f03dae commit 06fafce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ See [this page](/platforms/javascript/guides/react/features/component-tracking/#

### How It Works

The Babel plugin parses your application's JSX source code at build-time, and applies additional `data` attributes onto it.
These attributes will appear on the DOM nodes of your application's built HTML, indicating the React component and file that each node is sourced from. For example, if you had a component named
`MyAwesomeComponent` in the file `myAwesomeComponent.jsx`:
The Babel plugin parses your application's JSX source code at build time, and applies additional `data` attributes onto it. These attributes then appear on the DOM nodes of your application's built HTML, indicating the React component and file that each node is sourced from.

For example, if you had a component named `MyAwesomeComponent` in the file `myAwesomeComponent.jsx`:

```javascript
function MyAwesomeComponent() {
Expand Down

0 comments on commit 06fafce

Please sign in to comment.