GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — react(-dom): Update experimental typings by eps1lon · Pull Request #49152 · DefinitelyTyped/DefinitelyTyped

Conversation

@eps1lon

@eps1lon eps1lon commented Oct 27, 2020

Copy link
Copy Markdown
Collaborator

useOpaqueIdentifier was already added in #46692

Please fill in this template.

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code. (Compile and run.)
  • Add or edit tests to reflect the change. (Run with npm test YOUR_PACKAGE_NAME.)
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run npm run lint package-name (or tsc if no tslint.json is present).

Select one of these and delete the others:

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes:
    • React 17 release changelog
    • unstable_expectedLoadTime PR
    • startTransition PR
  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the header.
  • Include tests for your changes
  • If you are making substantial changes, consider adding a tslint.json containing { "extends": "dtslint/dt.json" }. If for reason the any rule need to be disabled, disable it for that line using // tslint:disable-next-line [ruleName] and not for whole package so that the need for disabling can be reviewed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
eps1lon added 5 commits October 27, 2020 14:59
@eps1lon
react: Remove timeoutMS
8b02787
@eps1lon
react: Add unstable_startTransition
27756fb
@eps1lon
Fix new lint rules
a64529f
@eps1lon
Add unstable_expectedLoadTime
6357908
@eps1lon
react-dom: Remove unstable_discreteUpdates and unstable_flushDiscrete…
1ecf471
…Updates
@eps1lon
eps1lon requested review from Jessidhia and johnnyreilly as code owners October 27, 2020 15:44
@typescript-bot typescript-bot added Critical package Edits multiple packages Author is Owner The author of this PR is a listed owner of the package. labels Oct 27, 2020
@typescript-bot

typescript-bot commented Oct 27, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

@eps1lon Thank you for submitting this PR!

This is a live comment which I will keep updated.

2 packages in this PR

  • react-dom on npm, on unpkg
  • react on npm, on unpkg

Code Reviews

Because this is a widely-used package, a DT maintainer will need to review it before it can be merged.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ❌ A DT maintainer needs to approve changes which affect more than one package

Once every item on this list is checked, I'll ask you for permission to merge and publish the changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 49152,
  "author": "eps1lon",
  "owners": [
    "MartynasZilinskas",
    "theruther4d",
    "Jessidhia",
    "johnnyreilly",
    "bbenezech",
    "pzavolinsky",
    "digiguru",
    "ericanderson",
    "DovydasNavickas",
    "guilhermehubner",
    "ferdaber",
    "jrakotoharisoa",
    "pascaloliv",
    "hotell",
    "franklixuefei",
    "saranshkataria",
    "lukyth",
    "eps1lon",
    "zieka",
    "dancerphil",
    "dimitropoulos",
    "disjukr",
    "vhfmag",
    "hellatan"
  ],
  "dangerLevel": "MultiplePackagesEdited",
  "headCommitAbbrOid": "1ecf471",
  "headCommitOid": "1ecf471c0d540059aeac0fde9d9ea6f5d8e117a1",
  "mergeIsRequested": false,
  "stalenessInDays": 0,
  "lastPushDate": "2020-10-27T15:40:52.000Z",
  "lastCommentDate": "2020-10-27T15:40:52.000Z",
  "maintainerBlessed": false,
  "reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/49152/files",
  "hasMergeConflict": false,
  "authorIsOwner": true,
  "isFirstContribution": false,
  "popularityLevel": "Critical",
  "newPackages": [],
  "packages": [
    "react-dom",
    "react"
  ],
  "files": [
    {
      "path": "types/react-dom/experimental.d.ts",
      "kind": "definition",
      "package": "react-dom"
    },
    {
      "path": "types/react-dom/test/experimental-tests.tsx",
      "kind": "test",
      "package": "react-dom"
    },
    {
      "path": "types/react/experimental.d.ts",
      "kind": "definition",
      "package": "react"
    },
    {
      "path": "types/react/test/experimental.tsx",
      "kind": "test",
      "package": "react"
    }
  ],
  "hasDismissedReview": false,
  "ciResult": "pass",
  "reviewersWithStaleReviews": [],
  "approvalFlags": 0,
  "isChangesRequested": false
}
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

typescript-bot commented Oct 27, 2020

Copy link
Copy Markdown
Contributor

🔔 @MartynasZilinskas @theruther4d @Jessidhia @johnnyreilly @bbenezech @pzavolinsky @digiguru @ericanderson @DovydasNavickas @guilhermehubner @ferdaber @jrakotoharisoa @pascaloliv @Hotell @franklixuefei @saranshkataria @lukyth @zieka @dancerphil @dimitropoulos @disjukr @vhfmag @hellatan — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eps1lon eps1lon mentioned this pull request Oct 27, 2020
feat(react): Update stable types for v17 #48971
Merged
9 tasks done
@typescript-bot

typescript-bot commented Oct 27, 2020

Copy link
Copy Markdown
Contributor

👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings.

Let’s review the numbers, shall we?

react-dom/v*

Comparison details for react-dom/* 📊
master #49152 diff
Batch compilation
Memory usage (MiB) 118.2 125.7 +6.4%
Type count 27087 27065 0%
Assignability cache size 6581 6578 0%
Language service
Samples taken 434 422 -3%
Identifiers in tests 434 422 -3%
getCompletionsAtPosition
    Mean duration (ms) 655.6 650.7 -0.8%
    Mean CV 8.0% 8.0%
    Worst duration (ms) 851.5 911.6 +7.1%
    Worst identifier fragment rootElement
getQuickInfoAtPosition
    Mean duration (ms) 655.0 654.5 -0.1%
    Mean CV 8.9% 8.9% +0.2%
    Worst duration (ms) 906.9 854.4 -5.8%
    Worst identifier renderIntoDocument createElement

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

react/v*

Comparison details for react/* 📊
master #49152 diff
Batch compilation
Memory usage (MiB) 129.0 121.4 -5.9%
Type count 34714 34722 0%
Assignability cache size 8145 8157 0%
Language service
Samples taken 2345 2345 0%
Identifiers in tests 2905 2921 +1%
getCompletionsAtPosition
    Mean duration (ms) 364.0 361.7 -0.6%
    Mean CV 8.0% 8.0%
    Worst duration (ms) 1364.3 1355.6 -0.6%
    Worst identifier props props
getQuickInfoAtPosition
    Mean duration (ms) 361.0 357.5 -1.0%
    Mean CV 7.9% 7.8% -0.6%
    Worst duration (ms) 1103.5 1068.8 -3.2%
    Worst identifier ref ref

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot typescript-bot added the Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. label Oct 27, 2020
johnnyreilly
johnnyreilly approved these changes Oct 27, 2020
View reviewed changes
@johnnyreilly
johnnyreilly merged commit a34a068 into DefinitelyTyped:master Oct 27, 2020
@typescript-bot

typescript-bot commented Oct 27, 2020

Copy link
Copy Markdown
Contributor

I just published @types/[email protected] to npm.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

typescript-bot commented Oct 27, 2020

Copy link
Copy Markdown
Contributor

I just published @types/[email protected] to npm.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eps1lon
eps1lon deleted the feat/react-experimental branch June 23, 2021 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@johnnyreilly johnnyreilly johnnyreilly approved these changes
@Jessidhia Jessidhia Awaiting requested review from Jessidhia Jessidhia is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

Author is Owner The author of this PR is a listed owner of the package. Critical package Edits multiple packages Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@eps1lon @typescript-bot @johnnyreilly
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.