fullstorydev / fullstorydev/fullstory-babel-plugin-annotate-react

Fragments still getting (attempted) annotations

Open
#36 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
33
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I am seeing warnings on both the native and web versions of our app that `Fragment` elements are being given `dataElement` props. I have tried without specifying any `"annotate-fragments"` setting, setting it to `false`, and setting it to `true`, but I get the warning no matter what.

![Screen Shot 2021-04-14 at 11 48 35 AM](https://user-images.githubusercontent.com/16692671/114763741-01ce3800-9d18-11eb-88ff-daf7d21ca17b.png)
![Screen Shot 2021-04-14 at 11 48 18 AM](https://user-images.githubusercontent.com/16692671/114763742-0266ce80-9d18-11eb-8314-6878e0bcc977.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the warning in both the native and web app versions while comparing the absent, false, and true "annotate-fragments" settings. Trace how Fragment elements receive dataElement props, then verify that the warning no longer appears in each configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, javascript, react
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.