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-reconciler] add missing params by susiwen8 · Pull Request #51733 · DefinitelyTyped/DefinitelyTyped

Conversation

@susiwen8

@susiwen8 susiwen8 commented Mar 13, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

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.
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run npm test <package to test>.

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/facebook/react/blob/1a7472624661270008011fd77f097d71e6249de9/packages/react-test-renderer/src/ReactTestHostConfig.js#L288
  • 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.

Sorry, something went wrong.

Uh oh!

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

All reactions
susiwen8 added 2 commits March 14, 2021 00:29
@susiwen8
Fix: add missing params
2d20353
@susiwen8
chore: update version
24314d3
@typescript-bot typescript-bot added the Untested Change This PR does not touch tests label Mar 13, 2021
@typescript-bot

typescript-bot commented Mar 13, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

@susiwen8 Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

This is a live comment which I will keep updated.

1 package in this PR

  • react-reconciler on npm, on unpkg

Code Reviews

This PR can be merged once it's reviewed by a DT maintainer.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • 🕐 Only a DT maintainer can approve changes without tests

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": 51733,
  "author": "susiwen8",
  "headCommitOid": "830fa83f55ea93298945833926447e33b19d532e",
  "lastPushDate": "2021-03-15T14:56:21.000Z",
  "lastActivityDate": "2021-03-15T14:56:21.000Z",
  "maintainerBlessed": false,
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "react-reconciler",
      "kind": "edit",
      "files": [
        {
          "path": "types/react-reconciler/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "Methuselah96",
        "zhanghaocong"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "stale",
      "reviewer": "Methuselah96",
      "date": "2021-03-15T14:20:16.000Z",
      "abbrOid": "d4fd295"
    }
  ],
  "ciResult": "pass"
}
All reactions

Sorry, something went wrong.

Uh oh!

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

@typescript-bot

typescript-bot commented Mar 13, 2021

Copy link
Copy Markdown
Contributor

🔔 @Methuselah96 @zhanghaocong — 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.

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Mar 13, 2021
@typescript-bot

typescript-bot commented Mar 13, 2021

Copy link
Copy Markdown
Contributor

@susiwen8 The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

All reactions

Sorry, something went wrong.

Uh oh!

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

@typescript-bot

typescript-bot commented Mar 13, 2021

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?

These typings are for a version of react-reconciler that doesn’t yet exist on master, so I’ve compared them with v0.26.

Comparison details 📊
0.26@master 0.27 in #51733 diff
Batch compilation
Memory usage (MiB) 80.2 80.0 -0.2%
Type count 19305 19306 0%
Assignability cache size 3834 3834 0%
Language service
Samples taken 707 707 0%
Identifiers in tests 707 707 0%
getCompletionsAtPosition
    Mean duration (ms) 208.8 208.1 -0.4%
    Mean CV 8.3% 8.3%
    Worst duration (ms) 284.6 288.6 +1.4%
    Worst identifier didNotFindHydratableTextInstance shim
getQuickInfoAtPosition
    Mean duration (ms) 213.4 212.8 -0.3%
    Mean CV 9.6% 9.6%
    Worst duration (ms) 283.2 281.2 -0.7%
    Worst identifier shim shim

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 Mar 13, 2021
@susiwen8
chore: revert version
d4fd295
@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Mar 14, 2021
@susiwen8

susiwen8 commented Mar 15, 2021

Copy link
Copy Markdown
Contributor Author

@Methuselah96 @zhanghaocong Hi, could you review it?

All reactions

Sorry, something went wrong.

Uh oh!

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

Methuselah96
Methuselah96 suggested changes Mar 15, 2021
View reviewed changes
Comment thread types/react-reconciler/index.d.ts Resolved

Uh oh!

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

@typescript-bot typescript-bot added the Revision needed This PR needs code changes before it can be merged. label Mar 15, 2021
@typescript-bot

typescript-bot commented Mar 15, 2021

Copy link
Copy Markdown
Contributor

@susiwen8 One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you!

All reactions

Sorry, something went wrong.

Uh oh!

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

@typescript-bot typescript-bot removed Revision needed This PR needs code changes before it can be merged. Untested Change This PR does not touch tests labels Mar 15, 2021
@susiwen8
Fix: params shouldn't be optional
830fa83
@typescript-bot typescript-bot added Revision needed This PR needs code changes before it can be merged. Untested Change This PR does not touch tests and removed Revision needed This PR needs code changes before it can be merged. labels Mar 15, 2021
@typescript-bot

typescript-bot commented Mar 15, 2021

Copy link
Copy Markdown
Contributor

@Methuselah96 Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

All reactions

Sorry, something went wrong.

Uh oh!

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

@weswigham
weswigham merged commit 4e8c4f2 into DefinitelyTyped:master Mar 15, 2021
@typescript-bot

typescript-bot commented Mar 15, 2021

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.

@susiwen8 susiwen8 mentioned this pull request Mar 16, 2021
chore: update react-reconciler README react/react#21016
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@Methuselah96 Methuselah96 Methuselah96 requested changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

No one assigned

Labels

Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. Untested Change This PR does not touch tests

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.

4 participants

@susiwen8 @typescript-bot @Methuselah96 @weswigham
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.