This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Merged
Conversation
Contributor
Author
joneshf-dd
reviewed
Mar 30, 2022
Collaborator
joneshf-dd
left a comment
There was a problem hiding this comment.
Sorry this broke on you. But, thanks for looking into it!
There's a bit more work before we can merge it. I tried to explain the situation and some ideas of what we can do, totally up to you what you'd like here.
a2527d4 to
52f5e05
Compare
added 2 commits
April 4, 2022 09:56
This updates react-scripts in the various starter apps in order to resolve an issue with hot reloading while working locally. References: - facebook/create-react-app#11771 - https://stackoverflow.com/a/70452191/656011
a9bc44f to
c332933
Compare
c332933 to
fa98d59
Compare
joneshf-dd
approved these changes
Apr 4, 2022
Collaborator
joneshf-dd
left a comment
There was a problem hiding this comment.
This looks great! Thanks for going through this.
One last bit about bumping the packages. But as mentioned, if you'd prefer to avoid making more changes/dealing with versions, just merge it now and we'll follow-up on the version bumps before making the next release.
debad6e to
517494b
Compare
joneshf-dd
approved these changes
Apr 4, 2022
Collaborator
joneshf-dd
left a comment
There was a problem hiding this comment.
Thanks again for doing all this!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Motivation
This updates react-scripts in the generated starter app from
@datadog/create-appin order to resolve thereact-error-overlayissue that was preventing hot reloading from working while developing an app after usingyarn create @datadog/app.References:
Changes
Upgrade to
v5.0.0ofreact-scriptsTesting
To See the Current Issue
yarn create @datadog/appyarn startin generated appsrc/widget/index.tsxin generated appTo Test the Idea Behind This Fix
node_modulesandyarn.lockreact-scriptsversion inpackage.jsonto^5.0.0yarnTo Test this Fix:
yarn linkthe@datadog/create-apppackageyarn create @datadog/app --commit 52f5e05d00077915e8a7ed424d4bd83ae6e1fe85yarn startin generated appsrc/widget/index.tsxin generated appyarn unlinkthe@datadog/create-apppackageReleases
Choose one:
If you're only updating examples/documentation, this is likely what you want.
Only
@datadog/create-appneeds a release