[JSDoc] Misleading JSDoc for `jsxDev` fn in `ReactElement.js` file

This issue has been created since 2022-11-04.

Issue Type:

JSDoc

Issue Description:

JSDoc for jsxDev fn in ReactElement.js file is misleading

  • @param {object} props - param props isn't declared/exists in fn signature

Link: https://github.com/facebook/react/blob/main/packages/react/src/ReactElement.js#L274-L280

Permalink:

/**
* https://github.com/reactjs/rfcs/pull/107
* @param {*} type
* @param {object} props
* @param {string} key
*/
export function jsxDEV(type, config, maybeKey, source, self) {

Expected Solution

  • fix the JSDoc for the same by removing props word from it

Willing to open PR w/ fix?

Yes 😃

Pranav-yadav wrote this answer on 2022-11-07

@eps1lon any confirmation? So that I can open a PR w/ changes :)
Edit: @acdlite (?)

More Details About Repo
Owner Name facebook
Repo Name react
Full Name facebook/react
Language JavaScript
Created Date 2013-05-24
Updated Date 2022-12-10
Star Count 198882
Watcher Count 6638
Fork Count 41302
Issue Count 1120

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Dandilion++ for Waku v2 0 2022-08-01 2022-10-11
[Task]请求日志中添加调用者标识appKey 0 2022-10-19 2022-12-03
Add option to allow for search tobe processed in same tab. 7 2022-10-24 2022-11-29
🐛 Bug Report: Notifications triggering from disabled provider 0 2022-09-08 2022-11-10
Discussion: Max UUID (ffffffff-ffff-ffff-ffff-ffffffffffff) 10 2022-02-26 2022-10-29
Next.js deploy is succeed, but s3 bucket not deployed. 3 2022-03-08 2022-12-04
esp32 - receive with timeout > 9 does never return 2 2019-04-12 2022-03-08
[serious] why? I can't figure out the use case based on the readme 4 2022-01-15 2022-11-14
Unable to start podman service in Fedora 35 3 2022-06-05 2022-11-06
Appendices in the table of contents 8 2021-01-24 2022-11-01
[Error] Authorization required, but no authorization protocol specified 3 2022-06-07 2022-12-04
Is "to the encoder" intended? (comment 2) 4 2022-03-25 2022-10-25
Stop creating issues all the time 3 2020-10-27 2022-10-20
Replace hardcoded strings 0 2020-11-09 2022-10-23
issue with small screens 7 2022-03-01 2022-12-05
Image to image translation 0 2022-11-05 2022-11-29
Support for Cyrillic Slavic languages? 1 2021-07-12 2022-11-14
Seeking with the progress indicator can be erratic 1 2021-11-09 2022-10-14
Simplify the "ADE" Table 1 2022-06-08 2022-11-23
Question : can data be sent to target via grpc or http post 6 2021-02-18 2022-11-03
@nuxt/kit version does not allow same versioning as @nuxt/test-utils-edge 6 2022-12-06 2022-12-09
.value is not resolved in template when use Nuxt plugin 1 2022-12-06 2022-12-09
上传的文件在容器对应的文件里找不到文件,但是在网页端可以显示出来。也能执行 2 2022-11-03 2022-12-03
php artisan api:routes error on laravel 8 18 2021-03-01 2022-12-04
[Docs] Cluster/Deployments: Key Concepts page 1 2022-01-24 2022-09-15
Heatmap histogram functionality? 2 2020-11-09 2022-12-02
Outfit - Utility - Targetting Array technical description - Steam 0.9.2 3 2022-01-31 2022-12-09
Update depencency to govdpa v.0.1.4 1 2022-11-21 2022-11-25
[email protected]: ignoring list does nothing when "undecorate all windows" is in effect 3 2022-02-17 2022-11-23
[ibm.com/standards/web page] Add indicator when links are internal 4 2021-11-02 2022-09-28
[Bug]: FxA account menu item doesn't always reflect latest account state 1 2022-07-15 2022-10-05
question about source code logic 4 2019-05-28 2022-10-21
Hot reloading doesn't work inside Docker container 3 2021-08-08 2022-11-25
Fallback to platform-python on RHEL 8.0 0 2021-11-16 2022-11-02
Bogus instrumentation when using stripMargin 0 2017-08-21 2022-12-04
Support TASTy version 23 [Dotty 0.25] 0 2020-05-04 2022-11-26
error in GNNExplainer 7 2022-09-02 2022-12-01
3.0.5版本实现NullableObjectConverter接口替换null值 1 2021-11-13 2022-12-01
SQS receiveMessage throws an error that goes around catch block 3 2022-07-11 2022-11-08
Improve required in the Office365 integration guide 0 2022-04-28 2022-09-12
GUI Issue - Progress bar locked at 50% 2 2021-11-27 2022-11-01
How can I set http timeout for GraphQLClient rawRequest? 5 2020-11-06 2022-10-17
Cart action rejections are not all handled 2 2022-08-25 2022-08-29
Skipping the plans page in JPC flow if a user is coming from importing process 0 2022-08-26 2022-08-29
Gutenberg: [v#.#.#] plugin upgrade 1 2022-08-25 2022-08-29
Fix precision issues while formatting amounts 1 2022-02-09 2022-09-30
CI Failures: Kibana process dies during esArchiver's `migrateKibanaIndex` 3 2022-05-04 2022-09-04
Improve getting started documentation to include req.body 2 2021-10-22 2022-11-25
Question: public repo with custom sources and sinks generators 0 2022-05-05 2022-12-02
it can use for complex shelf applicaton? 1 2021-06-10 2022-11-22