repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
facebookreact | bug inconsistent render behavior trigger by setstate in blur focus callback | Duplicate | react version 16 step to reproduce open the codepen demo 1 focus the outside div by click the black area 2 focus inner yellow div by either press arrow key or clicking or tab the current behavior when use arrow key to change focus render be call once only when use click or tab to change focus render be call twice the expect behavior render should be call the same time under 2 scenario |
facebookreact | error commit tree already contain fiber 1152 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 8 2 fed4ae024 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17786 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17717 25 at profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 18265 14 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31718 33 at vh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11067 7 at fi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11733 7 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 14430 86 at bk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13779 11 at ak chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13768 5 at sj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13750 7 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31701 48 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26139 23 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33363 48 at errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27172 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27303 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 30463 23 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22538 23 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 23040 27 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28328 23 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33797 21 |
facebookreact | bug react hook useeffect be call in function hero which be neither a react function component or a custom react hook function | Duplicate | react version step to reproduce 1 2 link to code example the current behavior the expect behavior |
facebookreact | add suspenselist to devtool element name | Bug | l491 we have suspenselist for the tree view but not when print jsx when we fallthrough here we call getdisplayname with a symbol because we assume that if it s not a string then it s a function we should be check whether it be a function before call getdisplayname subsequently if we call getdisplayname with a symbol we get the error invalid value use as weak map key which mess up thing after that I think that s the actual cause of |
facebookreact | add an option to devtool to enable double log | Enhancement | we currently plan to suppress double logging in development by override console in 17 however this can be confuse for some scenario and double logging may be preferable in they ideally we d add a toggle to devtool that would allow to re enable it on this screen ef3bflwwoaarjz9 |
facebookreact | add a toggle for boolean prop in devtool | Enhancement | we previously have a feature where boolean prop would show a checkbox to the left of they in the devtool pane it be remove when the json editor be add but I think we should add it back it should work like this 1 if the value be a boolean the checkbox should show up to the left of true false value 2 if it s no long a boolean e g get edit manually the checkbox disappear |
facebookreact | bug eslint plugin react hook optional chaining in dep | Bug | package react 16 13 1 eslint plugin react hook 4 0 8 the issue 18819 still happen with use the example code from the other issue give the follow error image image |
facebookreact | bug infinite iterator in prop cause crash in react dev tool | Bug | react version any react developer tool 4 8 2 step to reproduce 1 create and render a component which contain infinite iterator js function makecounter let c 0 while true yield c const counter makecounter const sample 2 open chrome devtool and select this component with react dev tool component tab 3 crash after few second link to code example the current behavior the page crash due to devtool crash the expect behavior devtool doesn t crash this be because reactdevtool be try to display element inside iterator object with transform it into array here l606 iterator could be generally infinite and also have side effect like counter in the example so I think it should not be extract to array here |
facebookreact | bug property list do not render repeat space properly | Bug | it look like the property inspector inside react devtool be not render repeat space properly I imagine this can result in some fairly frustrating debug session when do something like string match step to reproduce 1 create a component that take a string as a property 2 pass multiple space in a row to that property name test 3 space one two I would type the actual space but it appear github truncate the extra space even inside the code snippet 3 inspect that element inside react devtool the current behavior the value of the prop name be render as test one two the expect behavior the value of the prop name should be render as test 3 space one two below be some screenshot of the behavior I m see in production here s how the property value be render in inspector when it be output directly to the html image and here be how that same value be render inside devtool image |
facebookreact | error commit tree do not contain fiber 2094 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 record profiling result 2 browse result by page to the right 3 crash please do not remove the text below this line devtool version 4 8 2 fed4ae024 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17854 21 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17717 25 at profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 18265 14 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31718 33 at vh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11067 7 at fi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11733 7 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 14430 86 at bk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13779 11 at ak chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13768 5 at sj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13750 7 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31701 48 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26139 23 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33363 48 at errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27172 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27303 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 30463 23 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22538 23 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 23040 27 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28328 23 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33797 21 |
facebookreact | bug click the troubleshooting instruction button on the devtool open 2 tab | Bug | react version devtool 4 8 2 firefox version 79 0 64 bit step to reproduce 1 go to a non react page 2 open the devtool box 3 click troubleshooting instruction the current behavior open 2 tab of the github page the expect behavior should open 1 tab of the github page |
facebookreact | suggestion don t re throw error catch by boundary in development | Duplicate | we be use error boundary to catch and handle error inside of a react render as for error which occur outside of a react render I e uncaught error that happen in a timeout we need to register an uncaught error handler window addeventlistener error to handle these separately otherwise the user will not be alert unfortunately we can only rely on this uncaught error event handler in production not development this be because in development error catch by error boundary will still bubble up to the uncaught error handler unfortunately it s not document but it s explain here issuecomment 410036991 pr to add this to the doc this mean that in development the uncaught error handler will be call for error which be actually catch by error boundary intuitively I expect boundary to work like try catch if an error be catch it should never bubble up to the uncaught error handler also I do not expect such a big difference in the way error be handle in development versus production for the same reason when use the fast refresh webpack plugin in development the error overlay still appear even when an error be catch by an error boundary because they be use an uncaught error handler to detect when to show the overlay I would not expect this to happen because the error overlay be traditionally for uncaught error why do react need to treat error differently in development be there a reason it need to do this whatever the reason I think it s quite important for error to behave consistently in development and production when we re work on the user experience around error in development it s not obvious that the behaviour of error could be significantly different in production furthermore it s difficult to test error boundary in development if an uncaught error handler have also be register for example if fast refresh be use the error overlay will appear over the top of the error boundary for this reason I m keen to explore if there be a different approach we can take here in order to make the behaviour consistent between development and production ideally error boundary would just behave similarly to try catch fail that be there any other way we can differentiate between error catch by boundary and uncaught error which work in production and development to demonstrate the problem here be a reduce test case which throw an error both inside and outside of react render register a uncaught error handler and log event use an error boundary and log call to componentdidcatch and getderivedstatefromerror from the log screenshot I ve include at the bottom we can see that in development the uncaught error handler be call for the error which be in fact catch by an error boundary src index jsx jsx import as react from react import as reactdom from react dom window addeventlistener error event console log window addeventlistener error event class errorboundary extend react component state haserror false static getderivedstatefromerror error console log getderivedstatefromerror error return haserror true componentdidcatch error errorinfo console log componentdidcatch error errorinfo render return this state haserror false this prop child const boom console log boom throw new error error inside react render return null const app console log app render return const rootel document getelementbyid root reactdom render rootel settimeout throw new error error outside of react render 5000 development image production image relate |
facebookreact | bug block mode and event be break probably for material ui rating component example | Duplicate | react version 0 0 0 experimental 94c0244ba step to reproduce js import react from react import rating from material ui lab rating import style css export default function app const rating setrate react usestate null return example console log change rating newvalue setrating newvalue reactdom unstable createblockingroot document queryselector app hydrate false render live example video describe where be a bug the current behavior it s need to click 2 time before onchange will be fire the expect behavior should work as expect as it s work in legacy mode js reactdom hydrate document queryselector app as htmldivelement thank |
facebookreact | bug 17 0 0 rc 0 event propagation through portal be inconsistent | Bug | react version 17 0 0 rc 0 step to reproduce 1 open the codesandbox demo link below 2 click on the root and portal divs check the log 3 uncomment the portal div s onclickcapture noop handler check the log again link to code example the current behavior click on the portal div log portal click only add an onclickcapture noop handler on the portal div fix the root s onclickcapture handler you might have to refresh the page between edit otherwise the root s onclickcapture handler might keep work even after remove the portal s onclickcapture handler the expect behavior click on the portal div should trigger the root s onclickcapture handler whether the portal div have an onclickcapture handler or not |
facebookreact | error getcommittree unable to reconstruct tree for root 1 and commit 21 | Bug | describe what you be do when the bug occur 1 I be go through the profiler result to check each render and what trigger each render please do not remove the text below this line devtool version 4 8 2 fed4ae024 call stack at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17728 9 at profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 18265 14 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31718 33 at vh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11067 7 at fi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11733 7 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 14430 86 at bk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13779 11 at ak chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13768 5 at sj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13750 7 at mj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13351 105 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31701 48 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26139 23 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33363 48 at errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27172 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27303 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 30463 23 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22538 23 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 23040 27 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28328 23 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33797 21 |
facebookreact | bug use strict at global level cause issue with script concatenation | Bug | react version 16 13 1 even though react s code and other package like reactdom be wrap in a iife the code apply an entire script strict mode by place a use strict before any other statement mdn mention the trap of concatenate conflict script strict mode when use the entire script strict mode see here strict mode for script step to reproduce 1 create a file with react s code at the top and concat an expression that cause a use strict violation 2 load this file as a script tag link to code example scroll to bottom of file to see the concatenate expression the current behavior use strict mode be enforce on all the concatenate code even if it be not define as strict as a result strict violation at the other concatenate library will now throw error instead of silence they cause the script to stop execution the expect behavior global use strict should not be use and should be replace with function scope strict mode which already exist in some case of react iife bundle code wrapper like react dom development misc info always wrap umd bundle in iife l104 closure option for the build script state language out ecmascript5 strict ecmascript5 strict explain vs ecmascript5 |
facebookreact | bug svg foreignobject misplace on browser zoom in react app | Bug | react version 16 13 1 user agent mozilla 5 0 macintosh intel mac os x 10 15 5 applewebkit 537 36 khtml like gecko chrome 84 0 4147 105 safari 537 36 step to reproduce 1 hover over the red circle in the codesandbox notice that the popover come up above the circle 2 now use cmd ctrl to zoom the sandbox notice how the popover be displace 3 find the red circle in the browser devtool and the react devtool and notice the difference in the position of the red circle interestingly enough the popover seem to render at the position that the react devtool show it note refresh the page after zooming do not solve the problem note the problem be reproducible without the antd popover as well but it s hard to notice visually as nothing look misplaced browser devtool browser devtool react devtool react devtool I find this problem when try to add a popover to a custom node node view generator in react d3 graph I ve remove all other dependency in order to create this minimal reproducible example I ask this on so and after receive no response and no success in solve it myself decide to report it here link to code example sandbox and run app from the sandbox the current behavior the foreignobject be misplace on zoom the expect behavior I would expect that the foreignobject get a proper position in sync with the dom s position |
facebookreact | bug cursor of control input of type email jump to the beginning of input while delete | Bug | at least 2 word need to be type then after delete first one from the end cursor jump to the beginning of input it happen only for input of type email so it s suppose to be one word email but let s say that user type second word by mistake and then try to delete cursor jump to the end it happen on chrome opera microsoft edge however on firefox bug do not occure on firefox react version 16 12 0 step to reproduce create control input of type email and type firstword secondword try to delete secondword and then firstword link to code example the expect behavior cursor do not jump to beginning of input while delete |
facebookreact | bug mouseenter fire twice in react next | Bug | react version 0 0 0 f77c7b9d7 browser chrome version 84 0 4147 105 official build 64 bit os ubuntu 18 04 4 lts step to reproduce 1 move mouse over button link to code example the current behavior onmouseenter fire twice sometimes it doesn t video capture of repro step the expect behavior it fire only once same repro with |
facebookreact | bug event type no long match the listener name for onfocus and onblur | Bug | react version 0 0 0 f77c7b9d7 step to reproduce 1 listen to onfocus 2 read event type link to code example the current behavior event type focusin for focus and focusout for blur the expect behavior event type be unaffected by change to the native event react listen to at least onmouseenter work that way where you sometimes have a mouseover native event but event type will still read mouseover |
facebookreact | bug in react next shadowroot as rootelement in reactdom render crash | Bug | react version 0 0 0 f77c7b9d7 step to reproduce 1 mount a component with even listener in a shadowroot link to code example codesandbox with react next crash codesandbox with mount without error warning the current behavior throw with ensurelisteningto receive a container that be not an element node this be likely a bug in react the expect behavior 1 throw with a descriptive error that shadowroot be no long support as a root element or 2 continue to allow shadowroot as a root element no preference here this be just from an old regression test we have will be fix by |
facebookreact | error can not read property length of undefined | Bug | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 8 2 fed4ae024 call stack at getchartdata chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 18061 32 at profilingcache getflamegraphchartdata chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 18301 14 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31722 32 at vh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11067 7 at fi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11733 7 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 14430 86 at bk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13779 11 at ak chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13768 5 at sj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13750 7 at jj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13448 118 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31701 48 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26139 23 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33363 48 at errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27172 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27303 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 30463 23 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22538 23 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 23040 27 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28328 23 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33797 21 |
facebookreact | bug proxy on context throw an error in devtool | Bug | react version 16 12 0 step to reproduce 1 create an app with a proxy function that have a get method that return a function store in context 2 attempt to look at provider component in devtool link to code example the current behavior when use the devtool to inspect the context provider devtool throw an error uncaught domexception fail to execute postmessage on window function return null could not be clone component use the context do not show info in devtool and show loading instead the expect behavior no error be throw possibly relate 16691 |
facebookreact | suggestion add release date in the experimental 0 0 0 version | Question | it s hard to know which one be the late experimental react version in the yarn or npm 0 0 0 experimental ede917064 0 0 0 experimental 4c8c98ab9 0 0 0 experimental 7f28234f8 can you tell which one be new without do query on the web I suggest add a release date in the version 0 0 0 experimental 20200802 3d0895557 |
facebookreact | bug unspecified error some of the time in ie11 in iframe | Bug | react version 16 12 step to reproduce 1 open in ie11 2 wait for the application to load in the iframe the current behavior sometimes an unspecified error will appear in the console and the viewer in the iframe win t load image unfortunately it be not 100 reproducible sometimes the error win t occur I m also have trouble create a minimal sample to reproduce this the expect behavior there be no error investigation the relevant line in the callstack where the error be occur be here l415 I suspect it might be the same issue discuss here this be a real pain to track down but apparently ie 11 will just throw unspecified error when access document activeelement from an sometimes the solution they use to fix the error be to use this function instead of access document activeelement directly ideally this function could be use inside react as well I be also happy to use a workaround if there be one |
facebookreact | error commit tree do not contain fiber 118764 this be a bug in react devtool | Bug | describe what you be do when the bug occur I be profile unmounte of 30k record and this error occur in dev tool please do not remove the text below this line devtool version 4 8 2 fed4ae024 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17854 21 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17697 24 at profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 18265 14 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31718 33 at vh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11067 7 at fi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11733 7 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 14430 86 at bk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13779 11 at ak chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13768 5 at sj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13750 7 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31701 48 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26139 23 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33363 48 at errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27172 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27303 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 30463 23 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22538 23 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 23040 27 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28328 23 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33797 21 |
facebookreact | why do react warn about multiple renderer use the same context provider | Question | I be currently develop a web app that use both react pixi and react babylonj both of these library use react reconciler and have a custom renderer I also use redux in my project so they share the same context in the two library it display a warning on console after every redux state update but everything work well both renderer can trigger an update I want to know if there be any risk in do this or be this just a false warning react version 16 13 1 step to reproduce 1 use multiple react renderer 2 use the same context provider between that react renderer link to code example the current behavior it will throw a warning message after every state update warning detect multiple renderer concurrently render the same context provider this be currently unsupported but everything work well both renderer can trigger an update the expect behavior don t show any warning |
facebookreact | bug can t inspect well react warning for componentwillreceiveprop have be rename | Question | cf the screenshot bellow I have no componentwillreceiveprop in my code so the warning come from a library I don t know how to quickly identify which library cause this warning and make a fix pull request on the repo of this library any tip to also remove the warning thank a lot image |
facebookreact | error commit tree already contain fiber 8440 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 turn on profiler 2 the app sen a lot of small request to be 3 to make sure that all request fulfil I go to network tab when it be finish and stop profile 4 the profiler show some result and then crash please do not remove the text below this line devtool version 4 8 2 fed4ae024 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17786 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17717 25 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 18265 14 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31718 33 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31701 48 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26139 23 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33363 48 at errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27172 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27303 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 30463 23 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22538 23 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 23040 27 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28328 23 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33797 21 |
facebookreact | error commit tree already contain fiber 4194 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 8 2 fed4ae024 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17786 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17717 25 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 18265 14 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31718 33 at vh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11067 7 at fi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11733 7 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31701 48 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26139 23 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33363 48 at errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27172 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27303 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 30463 23 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22538 23 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 23040 27 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28328 23 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33797 21 |
facebookreact | error commit tree already contain fiber 2099 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 8 2 fed4ae024 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17786 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17717 25 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31701 48 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26139 23 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33363 48 at errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27172 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27303 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 30463 23 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22538 23 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 23040 27 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28328 23 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33797 21 |
facebookreact | bug react hook usecontext be call in function login which be neither a react function component or a custom react hook function react hook rule of hook | Bug | I be create new react app and be integrate with mobx while code the follow error arise which be wrong with respect to hook rule state below screen shoot 2020 07 18 at 10 17 08 am react version react 16 13 1 where as the code be correct with respect to give rule screen shoot 2020 07 18 at 10 35 08 am hook rule break the rule of hook the current behavior react hook usecontext be call in function login which be neither a react function component or a custom react hook function react hook rule of hook the expect behavior no error |
facebookreact | bug onfocus and onblur have inconsistent batching | Bug | react version 0 0 0 experimental 4c8c98ab9 with concurrent mode step to reproduce 1 in the provide code sandbox click on a todo component 2 tab back and forth between the two 3 at inconsistent time there will be a frame where the focus hasn t leave but the outline isn t render the outline be only draw when focus be in because there be a brief frame without the border the todo visibly flicker link to code example video focus shift multiple time at the beginning without a flicker around the 6 second mark there be a flicker photo of the frame image the current behavior at time there be an impossible frame where the focus have be set to false despite the focus just have shift from one element to another within the same div the expect behavior I m not sure if this pattern be something that be concurrent mode incompatible or something but regardless I d expect the behaviour to be consistent eg for focus and blur event to be combine into a single frame this codepen show the expect outcome with vanila js relate |
facebookreact | show an array in string format in ui | Question | in js array render with in between each element e g piyush sinha piyush sinha but in react array render without in between each element e g piyush sinha piyushsinha |
facebookreact | bug setstate in onfocus break onchange event in concurrent mode | Bug | use concurrent mode on 0 0 0 experimental 7f28234f8 make from baseweb stop fire onchange event baseweb be a popular set of react component that reflect real world usage pattern such that maybe it should work right off the bat with concurrent mode feel free to close if you re confident this be a userland problem and not a framework problem but I think this may indicate an incompatibility between concurrent mode and legacy mode that isn t document or warn about it if so because isn t do anything too fancy and doesn t use deprecate apis or warn when render in strict mode or concurrent mode I feel like that mean it s suppose to just work right react version 0 0 0 experimental 7f28234f8 step to reproduce 1 click a render use legacy mode and note that it check 2 click a render use concurrent mode and note that it do not check see issue here edit here I ve be try to debug and haven t find any smoking gun yet but there be some interesting tidbit I can share that might allude to if this be a react bug or a baseweb bug onfocus and onblur handler fire just fine on both mode doesn t use finddomnode or other deprecate apis in concurrent mode as well I can tell no warning be fire when render it in strict mode or concurrent strict mode focus the checkbox by tab and press space check and fire the onchange handler on both legacy and concurrent mode wide swath of the rest of baseweb work just fine in concurrent mode see for the baseweb issue |
facebookreact | error commit tree do not contain fiber 3716 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 open react dev tool 2 click start profile on profiler tab 3 expand mui expandable component 4 click stop profile 5 have this error thank you guy for help with this please do not remove the text below this line devtool version 4 8 1 d4eadea6c call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 167176 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 165979 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 168938 at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346620 at oi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 60964 at ui chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 70944 at bl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 117704 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 103070 at oc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102998 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102861 component stack at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346391 at div at div at div at eo chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 266560 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 370969 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 279481 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 282269 at div at div at ji chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 329374 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 209300 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 218616 at wa chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 297360 at ps chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 376211 |
facebookreact | error commit tree do not contain fiber 9869 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 I be record profile and then I be try to navigate to the other route on my website then I have stop profiler and I have see this error in the profiler 2 I be lazy loading the page here here be my react version react 16 8 6 react dom 16 8 6 please do not remove the text below this line devtool version 4 8 1 d4eadea6c call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 167176 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 165979 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 168938 at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346620 at oi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 60964 at ui chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 70944 at bl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 117704 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 103070 at oc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102998 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102861 component stack at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346391 at div at div at div at eo chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 266560 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 370969 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 279481 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 282269 at div at div at ji chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 329374 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 209300 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 218616 at wa chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 297360 at ps chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 376211 |
facebookreact | bug 4 8 0 release a ton of bug component tree break | Bug | 1 the component tab will be completely break until restart the chrome extension and closing and reopen the tab on page reload from code change break image after close the tab and turn the extension on and off normal image 2 page doesn t update if I m on domain com profile and then move to domain com home the dev tool still show the component tab for profile and the datum doesn t update 3 suspense component break everything below they if suspense be include in any component it seem to have trouble load what s below those component randomly 4 occasionally get the error about can not find node i d in console react version 4 8 0 step to reproduce not sure my codebase have pretty much remain the same and this start happen with the new update to the dev tool sometimes a reload work fine sometimes when reload the component tab doesn t work and show the image above link to code example sorry production build no code to link but I can t be the only one have this issue |
facebookreact | error commit tree do not contain fiber 11930 this be a bug in react devtool | Duplicate | describe what you be do when the bug occur 1 record an activity in the profiler 2 click the large bar in the commit sequence 3 get this error 4 reproducible also when I use the arrow to get to that commit and also with other record action 5 restart chrome seem to have solve the issue please do not remove the text below this line devtool version 4 8 1 d4eadea6c call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 167176 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166123 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 168938 at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346620 at oi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 60964 at ui chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 70944 at bl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 117704 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 103070 at oc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102998 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102861 component stack at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346391 at div at div at div at eo chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 266560 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 370969 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 279481 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 282269 at div at div at ji chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 329374 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 209300 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 218616 at wa chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 297360 at ps chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 376211 |
facebookreact | error commit tree do not contain fiber 7 this be a bug in react devtool | Duplicate | describe what you be do when the bug occur 1 I be profile the app as usual and it just crash and I have no idea why devtool version 4 8 1 d4eadea6c call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 167176 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 165979 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 168938 at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346620 at oi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 60964 at ui chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 70944 at bl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 117704 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 103070 at oc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102998 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102861 component stack at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346391 at div at div at div at eo chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 266560 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 370969 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 279481 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 282269 at div at div at ji chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 329374 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 209300 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 218616 at wa chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 297360 at ps chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 376211 |
facebookreact | error commit tree do not contain fiber 9 this be a bug in react devtool | Duplicate | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 8 1 d4eadea6c call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 167176 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166123 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166047 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166047 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166047 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166047 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166047 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166047 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166047 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166047 component stack at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346391 at div at div at div at eo chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 266560 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 370969 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 279481 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 282269 at div at div at ji chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 329374 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 209300 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 218616 at wa chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 297360 at ps chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 376211 |
facebookreact | error can not read property concat of undefined | Duplicate | devtool version 4 8 1 d4eadea6c call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166989 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 165979 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 168938 at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346620 at oi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 60964 at ui chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 70944 at bl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 117704 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 103070 at oc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102998 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102861 component stack at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346391 at div at div at div at eo chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 266560 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 370969 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 279481 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 282269 at div at div at ji chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 329374 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 209300 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 218616 at wa chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 297360 at ps chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 376211 |
facebookreact | error commit tree do not contain fiber 20379 this be a bug in react devtool | Duplicate | describe what you be do when the bug occur 1 I have a couple of material ui expansion panel in my code each expansion panel contain some card inside mount on expansion open 2 the one I be profile the page while open the panel 3 I see this error twice please do not remove the text below this line devtool version 4 8 1 d4eadea6c call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 167176 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 165979 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 168938 at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346620 at oi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 60964 at ui chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 70944 at bl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 117704 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 103070 at oc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102998 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102861 component stack at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346391 at div at div at div at eo chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 266560 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 370969 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 279481 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 282269 at div at div at ji chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 329374 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 209300 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 218616 at wa chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 297360 at ps chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 376211 |
facebookreact | error commit tree do not contain fiber 12613 this be a bug in react devtool | Duplicate | describe what you be do when the bug occur 1 record activity use profiler tool 2 navigate to rank tab 3 error message display please do not remove the text below this line devtool version 4 8 1 d4eadea6c component stack wl moz extension 11647b02 2c4c 4d9c 945f 5dde85fa8015 build main js 40 347075 div div div eo moz extension 11647b02 2c4c 4d9c 945f 5dde85fa8015 build main js 40 267242 c moz extension 11647b02 2c4c 4d9c 945f 5dde85fa8015 build main js 40 371653 n moz extension 11647b02 2c4c 4d9c 945f 5dde85fa8015 build main js 40 280167 ra moz extension 11647b02 2c4c 4d9c 945f 5dde85fa8015 build main js 40 282951 div div ji moz extension 11647b02 2c4c 4d9c 945f 5dde85fa8015 build main js 40 330056 ge moz extension 11647b02 2c4c 4d9c 945f 5dde85fa8015 build main js 40 209982 sn moz extension 11647b02 2c4c 4d9c 945f 5dde85fa8015 build main js 40 219298 wa moz extension 11647b02 2c4c 4d9c 945f 5dde85fa8015 build main js 40 298042 ps moz extension 11647b02 2c4c 4d9c 945f 5dde85fa8015 build main js 40 376893 |
facebookreact | bug react devtool error when key and cert be provide ssl not usable | Bug | ssl be not usable because key and cert option be add to an uninitialized option object line 149 of react devtool app html read let option line 154 and 155 begin with option cert in every case this throw an error and enter the catch block react version 16 5 2 react devtool version 4 8 1 step to reproduce 1 on command line execute key react devtool ssl key pem cert react devtool ssl cert pem node modules react devtool bin js regardless of whether the key and cert be valid the error can not set property key of undefined be throw |
facebookreact | feature proposal eslint react hook allow custom know stable value for exhaustive dep | Duplicate | as far as I know the list of know stable value for exhaustive dep to exclude when check dependency be define in the code of the lint l296 l307 it would be great if this can be customize append like the additionalhook option because some library like recoil also have know stable value e g the one return by usesetrecoilstate |
facebookreact | error can not read property concat of undefined | Duplicate | describe what you be do when the bug occur 1 I open react profiler 2 I click start profile 3 I perform some action in my react application 4 I click stop profile 5 stacktrace appear in devtool window instead of profiler chart please do not remove the text below this line devtool version 4 8 1 d4eadea6c call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166989 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 165979 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 168938 at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346620 at oi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 60964 at ui chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 70944 at bl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 117704 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 103070 at oc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102998 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102861 component stack at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346391 at div at div at div at eo chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 266560 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 370969 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 279481 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 282269 at div at div at ji chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 329374 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 209300 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 218616 at wa chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 297360 at ps chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 376211 |
facebookreact | error commit tree do not contain fiber 778 this be a bug in react devtool | Duplicate | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164902 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163705 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 at zl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 113765 at ic chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104502 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104430 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104298 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | bug react hook exhaustive dep report a typescript type via typeof as a dependency | Good First Issue | react hook exhaustive dep report a miss dependency when a variable be use purely for it s type once the typescript code have be transpile that variable will no long be reference in that part of the code and thus it s not a dependency react version eslint plugin version step to reproduce 1 have some type variable declare in the component 2 within a hook callback refer to that variable s type via typeof x link to code example the current behavior an eslint error such as the following occur react hook exhaustive dep react hook useeffect have a miss dependency the expect behavior no error should occur |
facebookreact | error commit tree do not contain fiber 2756 this be a bug in react devtool | Duplicate | describe what you be do when the bug occur 1 record navigate between two page use profiler 2 after recording try to see the next frame in the profiler the only thing that may be unusual about the app be that both page be base on recoil please do not remove the text below this line devtool version 4 8 1 d4eadea6c call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 167176 at t chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166123 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 168938 at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346620 at oi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 60964 at ui chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 70944 at bl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 117704 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 103070 at oc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102998 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102861 component stack at wl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 346391 at div at div at div at eo chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 266560 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 370969 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 279481 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 282269 at div at div at ji chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 329374 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 209300 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 218616 at wa chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 297360 at ps chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 376211 |
facebookreact | bug devtool extension component tree view crash on empty suspense element | Bug | react version 16 13 1 also test with version down to 16 9 0 devtool extension version 4 8 1 firefox 4 8 0 chrome step to reproduce 1 create a new app use create react app 2 replace the content of app js with this jsx import react suspense from react function app return export default app the current behavior the component tree render up until the empty element and an error be print to the console example from a production app image error stack trace more or less same as in chrome uncaught typeerror e child be null I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1029 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1029 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1029 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1020 flushinitialoperation moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1262 flushinitialoperation moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1257 o moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 2068 emit emit I moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 2075 y moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 2076 y moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 2076 e moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1776 e moz extension 3b85dd64 f11d 4480 a0a9 2f6ad211ca37 build react devtool backend js 1779 the line in question be this javascript special case if suspense mount in a time out state get the fallback child from the inner fragment and mount it as if it be our own child update handle this too var u e child c u u sible null s c c child null null s I s a e t 0 r else var f 1 e child e child child null f I f a e t 0 r else null e child I e child a e t 0 r which point to this location in the source code l1221 the expect behavior I can view the component tree in react devtool with no error |
facebookreact | bug exhaustive dep lint rule mistakingly flag an assignment | Bug | example js function example prop useeffect let topheight 0 topheight prop upperviewheight prop upperviewheight this be not suppose to violate because prop upperviewheight be in the dep |
facebookreact | debugger add in the javascript code cause breakpoint | Duplicate | look like debugger be leave in react devtool backend js cause breakpoint |
facebookreact | bug unexpected debugger statement in devtool solve | Bug | look like you forget about the debugger inside the react devtool backend js react dev tool version 4 8 0 step to reproduce 1 update or install the late version of devtool 2 open devtool 3 the code will be stop on the debugger inside react devtool backend js image 2020 07 10 13 43 52 the current behavior if I open devtool with react dev tool extension it will stop every time on debugger inside react devtool backend js the expect behavior it doesn t seem like it should be happen |
facebookreact | bug debugger get trigger on warning but set not enable | Duplicate | react version 16 9 5 step to reproduce 1 open the dev console in firefox 78 0 1 that be run react developer tool from revision a5b449295 on 7 9 2020 2 don t change any setting from the default 3 do something that trigger a warning like run stripe js in test mode on http 4 the debugger get trigger even though trigger on warn be not set and neither be debugg on exception in the console setting see screenshot at bottom the current behavior the debugger get trigger the expect behavior the debugger should not get trigger workaround refreshing the page do nothing I toggle the value on close the dialog open it again and toggle it off that fix it for I screenshot |
facebookreact | which approach be well for get datum from state | Question | let s say our state be as follow state user name dave email so while get the user property from the state which one of the following should I do case 1 const user this state user this way follow be valid user this state user true user name manny console log this state user name manny though it win t cause re render until we use setstate but basically the value of the state variable have change case 2 const user this state user this way user this state user false user name manny console log this state user name dave which approach be well or be there any side effect of any of they |
facebookreact | devtool test script run the wrong test | Bug | sh yarn test build project devtool this doesn t actually run any devtool test it run the main react test console output show that it s choose the wrong config sh yarn test build project devtool node script jest jest cli js build project devtool node env development release channel experimental node script jest jest js config script jest config build js I wonder if this be also happen for other target |
facebookreact | error getcommittree unable to reconstruct tree for root 1 and commit 36 | Duplicate | describe what you be do when the bug occur hi I be use the profile functionallity from react dev tool and suddenly this error happen please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163895 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 at zl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 113765 at ic chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104502 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104430 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104298 at vc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 99542 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | bug unrelated state update in onkeydown block onchange and break control component | Bug | hi I use input control mode and subscribe to onkeydown and onchange event it will trigger an effect when user enter space however the space don t display on screen be this a bug on react or be there something wrong with the way I m use it but subscribe to onkeyup be normal this be confused react version 16 13 1 and old step to reproduce 1 enter space 2 input element don t show space on the screen link to code example js import react usestate useeffect from react const app const count setcount usestate 0 const value setvalue usestate const code setcode usestate add useeffect if code add setcount c c 1 else setcount c c 1 code setcount const keydown e if e keycode 32 console log space if code add setcode minus else setcode add const handlechange e setvalue e target value return count export default app the current behavior input element can t receive the space the expect behavior input element can receive the space |
facebookreact | micro react app need to render another react app into exist react app | Question | hi I need to render another react app I e app2 into exist react app I e app1 on run time I have host my app2 on a remote server I read asset manifest json file from it and on runtime I append those js chunk in our head tag this overall code I call from my app1 to load my app2 on runtime but I be not able to trigger app2 how should I trigger app2 component inside app1 component my application have lot of other internal dependency such redux redux thunk etc |
facebookreact | error commit tree already contain fiber 1 this be a bug in react devtool | Duplicate | describe what you be do when the bug occur 1 go to the profiler 2 do reload and record 3 stop record 4 go to flamegraph 5 start page through commit 6 at around the 5th commit this error be throw please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164298 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163849 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 at zl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 113765 at ic chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104502 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104430 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104298 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | when wait for an async action to end and in the meantime the state change there be no way to know about the change | Question | react version 16 13 step to reproduce 1 create a functional component with 2 element 2 the component will have an integer counter prop and be initialise with 0 value 3 the first element have an onclick action which increase the counter 4 the second element have an onclick action which be asynce and wait for a timeout promise and only then increase the counter 5 press the second element and while wait for the async action to complete press the firs element as well import react usestate from react export default function app const counter setcounter usestate 0 return await new promise resolve settimeout resolve 4000 setcounter counter 1 async counter increase the counter state setcounter counter 1 add 1 counter link to code example a different version of the same issue the current behavior current behaviour the counter value at the end of the async action will equal to 1 the expect behavior expect behaviour the counter value at the end of the async action will equal to 2 |
facebookreact | error commit tree do not contain fiber 21163 this be a bug in react devtool | Duplicate | describe what you be do when the bug occur 1 while I be use profilter I get the follow error please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164902 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163849 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | error can not read property concat of undefined | Duplicate | describe what you be do when the bug occur 1 I open my project react 16 9 0 2 start profile 3 do my action 4 stop profile please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164715 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163705 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 at zl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 113765 at ic chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104502 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104430 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104298 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | bug can not read property reference of undefined in eslint plugin react hook v4 0 5 | Bug | certain code pattern use optional chaining syntax cause eslint plugin react hook to throw an error react version 16 10 2 step to reproduce 1 install eslint plugin react hook v4 0 5 2 put this code in a file tsx import react useeffect from react export const repro prop const foo const bar pizza foo pizza pasta foo pasta useeffect bar return the current behavior eslint throw the follow error typeerror can not read property reference of undefined occur while linte path to repo file ts 102 at path to repo node modules eslint plugin react hooks cjs eslint plugin react hooks development js 1681 23 at set foreach at visitfunctionwithdependencie path to repo node modules eslint plugin react hooks cjs eslint plugin react hooks development js 1672 29 at visitcallexpression path to repo node modules eslint plugin react hooks cjs eslint plugin react hooks development js 886 19 at path to repo node modules eslint lib linter safe emitter js 45 58 at array foreach at object emit path to repo node modules eslint lib linter safe emitter js 45 38 at nodeeventgenerator applyselector path to repo node modules eslint lib linter node event generator js 254 26 at nodeeventgenerator applyselector path to repo node modules eslint lib linter node event generator js 283 22 at nodeeventgenerator enternode path to repo node modules eslint lib linter node event generator js 297 14 the expect behavior eslint do not throw an error this look related to and I ve notice that it do not throw if a number of slight variation be make to the code the following do not throw tsx import react useeffect from react export const repro prop const foo const bar pizza foo pizza pasta foo pasta useeffect bar return tsx import react useeffect from react export const repro prop const foo const bar pizza foo pizza pasta foo pasta useeffect bar return tsx import react useeffect from react export const repro prop const foo const bar pizza something pizza pasta foo pasta useeffect bar return cc krailler |
facebookreact | ci miss fail test | Bug | pr 19222 recently land with no ci failure but reactdomserverselectivehydration be definitely break as a result of this pr and be subsequently fix in 19227 this be just a reminder for one of we to dig into why ci didn t catch this failure |
facebookreact | error can not read property concat of undefined | Duplicate | describe what you be do when the bug occur 1 click on reload and start profilie 2 click on start profile 3 click on select next commit please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164715 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163849 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 at zl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 113765 at ic chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104502 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104430 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104298 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | react dev tool component never show up anymore | Duplicate | google chrome extension do not work anymore google chrome be up to date version 83 0 4103 116 official build 64 bit most of the time the new developer tab never show up if I kill the whole process and re load it sometimes it will load sometimes it doesn t the plugin have access to all datum on all site be this plugin ever update to use the new plugin format note I didn t initially realize this be the entire react project and not the dev tool plugin not sure why the dev tool plugin page in chrome send I here for support |
facebookreact | compile error with dependency | Duplicate | hello I be new to react and I be follow some tutorial to learn more but in the first few step I face a problem that I can t find any solution for it even in the stack overflow only one person have the same problem that no one answer it problem explain well in the following link 62506484 after try lot of different thing I find a solution to this problem that I post under this question I be not very sure that what I do be 100 correct but it solve my problem and I want to say whenever I create a new react project I have to change the kleur value in dependency to not face the problem I think maybe this be a problem in react because I also uninstall the react and clean my cache and download a new react and create a new project but still have same problem this be the error that I receive react error |
facebookreact | devtool api request add api for customize renderer inspect element | Question | I m wirte a custimse renderer for render element in canvas like react pixi I want intergrate with react dev tool I can hightlight element when click element in react dev tool compoent panel use code ts react devtool global hook reactdevtoolsagent bridge addlistener highlightnativeelement eleinfo eleinfo const i d rendererid eleinfo const renderer react devtool global hook rendererinterface get rendererid const node list renderer findnativenodesforfiberid i d as sprite customise render engin hightlight code I want hightlight ele when mouse move in canvas I can use react devtool global hook rendererinterface get 1 getfiberidfornative node find node fiber i d I can use bridge send hightlint msg to backend just like the code l311 but I can t get store object and get enugh infomation send to backend maybe dev tool can expose proper api for this function |
facebookreact | error commit tree already contain fiber 1 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 click record before fire off the onclick function 2 when I click stop record this error be throw please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164298 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163705 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 at zl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 113765 at ic chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104502 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104430 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104298 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | error getcommittree unable to reconstruct tree for root 1 and commit 450 | Bug | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163895 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | error can not read property concat of undefined | Bug | describe what you be do when the bug occur by this video link please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164715 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163849 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163773 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 at zl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 113765 at ic chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104502 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104430 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | bug react devtool incorrectly update the setter function of usestate hook | Bug | from the doc react guarantee that setstate function identity be stable and win t change on re render this be why it s safe to omit from the useeffect or usecallback dependency list when react devtool be open new setstate be create on each rendering which could lead to inconsistency react version 16 13 1 step to reproduce 1 open the codesandbox 2 click the open in new window button beside the codesandbox browser url 3 on the new page which be run the code open the react devtool component tab 4 click on the app component 5 refresh the page and click the button component update xx time 6 nothing be update 7 close devtool refresh click the button again update work fine jsx this component be create solely for point out the bug function app const updatecountref useref 0 updatecountref current const state setstate usestate a const cbref useref cbref current setstate c string fromcharcode c charcodeat 0 1 const handler cbref current return component update updatecountref current time current state value state link to code example the current behavior component do not update when react devtool be open new setstate be create on each render the expect behavior component should update on each click there should be only one setstate |
facebookreact | error commit tree do not contain fiber 35 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164902 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163705 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 at zl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 113765 at ic chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104502 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104430 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104298 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | error can not read property concat of undefined | Bug | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164715 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163849 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 at zl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 113765 at ic chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104502 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104430 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104298 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | bug typeerror log be read only | Bug | react version 0 0 0 experimental 33c3af284 image l45 flowfixme flow think console be immutable yes it be immutable in some enviroment please add a try catch on it |
facebookreact | error can not read property concat of undefined | Bug | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 7 0 23309eb38 call stack at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164715 at I chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 163849 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 166664 at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342328 at gi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 62450 at tl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 71793 at zl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 113765 at ic chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104502 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104430 at dc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 104298 component stack at ul chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342099 at div at div at div at co chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 263571 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 366677 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 276314 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 278724 at div at div at xi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 325177 at ge chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 207026 at sn chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 216342 at va chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 293773 at we chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 371869 |
facebookreact | unexpected warning in react hook exhaustive dep use optional chaining operator | Bug | this issue be very similar to 18985 but it happen with usecallback instead of useeffect and the error message be different eslint plugin react hook version 4 0 4 step to reproduce the order of reference matter if you flip the two call to console log no error be report and as in 18985 replace with win t result in an error js function mycomponent prop usecallback console log prop foo console log prop prop package json js name bug react hook version 1 0 0 description license isc script test eslint test js dependency babel eslint 10 1 0 eslint 7 1 0 eslint plugin react hook 4 0 4 eslintconfig parser babel eslint parseroption sourcetype module plugin react hook rule react hook exhaustive dep warn the current behavior the follow warning be report text 5 6 warning react hook usecallback have an unnecessary dependency prop either exclude it or remove the dependency array react hook exhaustive dep the expect behavior no warning should be report |
facebookreact | bug react function get call for no reason | Question | react version 16 13 1 step to reproduce 1 click on task 1 2 check the dsdfdsf tab and check it 3 click on create a new task 4 create a new task link to code example the current behavior when add a new task the last use function of a different component get call for no reason the milestone of the list get clear when add a new task the expect behavior the function shouldn t be call the already exist list shouldn t be clear |
facebookreact | selenium integration | Question | hello I m not sure if this be an issue but I would like to know a little more about how react developer tool work I want to get react prop with selenium in order to make easy the debugging of a website I d be thankful with any kind of help you can give I good regard |
facebookreact | feature request have context provider throw error if miss value prop | Enhancement | just about every time I set up a new context provider I end up accidentally specify a value prop rather than value while it s a minor error generally I build the container in which the provider reside and commit it to the code base before I ever use it it s only later when I go to use it that I realize I do it again since the context provider seem pretty much useless without a value prop specify I d love it if there be a prop error if it be miss especially if another prop be define on the context provider instead |
facebookreact | click event and settimeout update state different time of render | Question | when I try to batch update all the state with click event the final render be once when the state be update in batch with settimeout the result be multiple time may I ask what be the usestatehook running mechanism inside react be the same asynchronous function but the time of rendering be not the same react version 16 12 0 step to reproduce 1 bind a single click event to the dom and handle multiple state update in batch 2 after the component be mount create a settimeout timer which be also a batch update of state link to code example the current behavior click event batch update and timer batch update rendering time be different the expect behavior also trigger an update what be the operation mechanism of usestate hook why not the same number of asynchronous rendering |
facebookreact | component and profiler tabs don t appear | Duplicate | very often the component and profiler tabs don t appear |
facebookreact | bug devtool tabs don t show up sometimes in late release | Bug | note this issue be due to cr bug 1085215 it be impact several other popular extension as well include react redux relay and vue devtool react version 16 13 1 devtool version 4 7 0 5 18 2020 macos version 10 15 4 19e287 step to reproduce 1 create a new profile in google chrome 2 install the react developer tool 3 go to 4 open the browser dev tool screenshot not sure this help but this be basically what I get after follow the aforementione step image when use opera the tab do show up image the current behavior sometimes the component and profiler I e react devtool tab don t show up the expect behavior these tab should show for any site use react more detail I ve try a few browser include 1 google chrome 83 0 4103 61 2 microsoft edge 83 0 478 37 3 opera 68 0 3618 125 all of they should be work since they re all chromium base the most reliable be opera which always show the dev tool tab chrome and edge behave the same way sometimes show they and other time not I ve also take a look at the background page of the react dev tool extension and they don t show any error only these performance metric in the devtool app html page image the main background page show nothing in the console at all time |
facebookreact | bug unexpected warning in react hook exhaustive dep use optional chaining operator | Bug | when the optional chaining operator be use inside a hook and the variable be already list in the dependency eslint plugin react hook report an unexpected miss dependency warning replace with produce the expect behaviour the warning be no long report I would expect that the optional chaining operator be handle as normal property access in the context of this validation react version 16 13 1 eslint plugin react hook version 4 0 2 step to reproduce notice that foo be both reference inside the code in useeffect and be list as a dependency js import react useeffect from react const getfoo undefine const dosomethingwith foo export default const foo getfoo useeffect if foo bar dosomethingwith foo foo return null package json js name react hook bug version 1 0 0 description license isc script test eslint test js dependency babel eslint 10 1 0 eslint 7 1 0 eslint plugin react hook 4 0 2 eslintconfig parser babel eslint parseroption sourcetype module plugin react hook rule react hook exhaustive dep warn the current behavior the follow warning be report warn react hook useeffect have a miss dependency foo bar either include it or remove the dependency array react hook exhaustive dep the expect behavior no warning should be report additional note with the follow code which only replace with eslint plugin react hook behave as expect that be no warning be report of course this fail at runtime when foo be undefined js import react useeffect from react const getfoo undefine const dosomethingwith foo export default const foo getfoo useeffect if foo bar dosomethingwith foo foo return null |
facebookreact | bug eslint exhaustive dep doesn t recognize jsxidentifier as use | Duplicate | function component reporttype let report report reporttype let child usememo return report say that report be an unnecessary dependency it s not this be because eslint scope reference do not include jsx I suspect if you pull in to your app s config then this win t happen but maybe we should do something in the hook plugin itself too since the other aren t officially recommend by the react team anyway |
facebookreact | error could not find node with i d 4557 in commit tree | Bug | describe what you be do when the bug occur 1 start profile the application 2 try to stop it after couple of navigation and action on spa but fail to stop 3 finally click multiple time on stop have stop profile and get his issue in graph option please do not remove the text below this line devtool version 4 6 0 6cceaeb67 call stack at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 167472 at map foreach at commitindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 167418 at e getrankedchartdata chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 167941 at lc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 342270 at ci chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 59620 at ll chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 109960 at qc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102381 at hc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102306 at vc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102171 component stack in lc in div in div in div in so in unknown in n in unknown in div in div in rl in ze in fn in ga in s |
facebookreact | error commit tree do not contain fiber 97 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 open the profiler after play a while with some react application 2 try to reach some snap with the player 3 this happen please do not remove the text below this line devtool version 4 6 0 6cceaeb67 call stack at j chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 162825 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161772 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164582 at ec chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 339280 at ci chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 59620 at nl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 69923 at ll chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 110996 at qc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102381 at hc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102306 at vc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102171 component stack in ec in div in div in div in so in unknown in n in unknown in div in div in rl in ze in fn in ga in s |
facebookreact | eslint plugin react hook bug warn on usewithouteffectsuffix | Bug | with I observe an unexpected warning on usewithouteffectsuffix hook call step to reproduce 1 yarn create react app hook bug 2 cd hook bug 3 npm run eject 4 npm I 5 place code from the example below into src app js 6 run npx eslint src app js 7 check output for warning mention below code example function app prop usewithouteffectsuffix prop return null function usewithouteffectsuffix export default app npx eslint src app js src app js 2 3 warning react hook usewithouteffectsuffix have a miss dependency prop either include it or remove the dependency array react hook exhaustive dep 1 problem 0 error 1 warn the current behavior react hook exhaustive dep warning trigger on a custom hook which contain effect in the middle of it s name but do not contain it as a suffix the expect behavior I would expect react hook exhaustive dep to succeed without warn on a custom hook which contain effect in the middle of it s name but do not contain it as a suffix I be under impression that only effect suffix should be reserve because of the follow quote I think ideally we d reserve effect suffix for thing that mirror the dependency api gaearon s reply on another issue issuecomment 626910546 new violation check dependency for all hook end with effect changelog entry in case I get something wrong and the plan be to reserve effect word completely anywhere in custom hook s name then we at least need to correct changelog accordingly |
facebookreact | feature proposal eslint react hook recursive dependency scan for exhaustive dep | Enhancement | context after read not 100 of it I admit I decide to refactor my codebase in order to be more resilient against potential mistake during this conversion I convert a ton of callback to usecallback and make extensive use of the array dependency for usecallback and useeffect everywhere however I often stumble upon the follow pattern js const mycallback usecallback do something with value value const myothercallback usecallback const result mycallback do something with both value and result value mycallback useeffect do something with mycallback myothercallback and value independently value mycallback myothercallback basic codesandbox with this example for the sake of argument let s say that this code can t move callback around I can t declare mycallback and or myothercallback because they be use below in the main scope problem with the above example we can conclude the follow statement mycallback will change if value change myothercallback will change if value or mycallback change the useeffect will rerun if mycallback value or myothercallback change we can instantly notice there be a lot of redundancy right there if value change mycallback will change so I only need to specify mycallback as a dependency for myothercallback even though I also use value directly the same reasoning can be apply to the dependency of useeffect as a human I could omit value from the dependency of myothercallback and be 100 absolutely guarantee that the behavior would be strictly identical as per the hook very own specification but if I do so the react hook exhaustive dep eslint rule will complain that I m miss some dependency from the array proposal if I understand properly the rule do some kind of dependency traversal in order to attempt to recognize infinite loop I think it would be nice for it to also be able to detect this kind of dependency redundancy even well it should be able to take it into account when suggest change report error benefit from read the issue I mentionne at the top of this post there be a fair amout of people who be not happy with the clutter the rule force we to have in the codebase myself I m fairly hesitant and sometimes find myself think I shouldn t need to specify this dep implement the proposal mentionne above would be extremely beneficial regard the readability of the code by totally prevent redundancy of dependency drawback I can see two potential issue with this proposal performance impact require the rule to recursively assess dependency may have a performance impact on the linting I m not sure if this be the case since the rule do a similar check to try to avoid infinite loop maybe I m wrong and it s not the same thing if this be too much of an impact I think it could be opt in behind a config flag this would allow people to decide for themselves if the impact be worth it less obvious dependency not explicitely specify every use dependency may make it hard to assess the real update impact from the above example I know that my useeffect depend on value if it weren t there I would have to mentally climb up the dependency myself I think this be a fake drawback since I always need to climb up the dependency tree to really know what could cause my effect or other to be trigger I would even argue that this proposal make this mental parsing easy because I don t have any redundancy when read the dependency every variable I see in a dependency array be specify exactly once well there may be exception when it come to diverge dependency but it s even more of an improvement in such a situation conclusion this proposal seem to be entirely positive from my point of view the drawback be quite small and an opt in design may make they even more manageable |
facebookreact | error commit tree already contain fiber 10819 this be a bug in react devtool | Bug | describe what you be do when the bug occur simple running profiler and popout this error please do not remove the text below this line devtool version 4 6 0 6cceaeb67 call stack at j chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 162221 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161772 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161696 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161696 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161696 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161696 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161696 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161696 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161696 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161696 component stack in ec in div in div in div in so in unknown in n in unknown in div in div in rl in ze in fn in ga in s |
facebookreact | error commit tree already contain fiber 19587 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 I do profiling on a list that get update on each pagination api call 2 once the profiling be do I move around in the profiler to view the flamegraph 3 move to second capture the profiler crash devtool version 4 6 0 6cceaeb67 component stack in ec in div in div in div in so in unknown in n in unknown in div in div in rl in ze in fn in ga in s |
facebookreact | bug render after suspense be throw away leave dom unmatched with state | Bug | react version 16 12 0 step to reproduce a component that suspend as a result of a context update be never render to dom after suspension be finish link to code example the current behavior if a component suspend as a result of a context update the component s render be call after suspension be finish but the result of the render be not reflect in the dom and effect aren t call the expect behavior if a component suspend as a result of a context update the component s render should be call and flush to the dom and effect call relate issue seem relate to memoization but this do not use any memoization |
facebookreact | error commit tree do not contain fiber 256 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 profile a slow component in a component that render 5000 pre tag with single line of text in they that have an unrelated control text box be the same component that be type into while profile app hang a while and when it render again the error be in the profiler please do not remove the text below this line devtool version 4 6 0 6cceaeb67 call stack at j chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 162825 at n chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 161628 at e getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 164582 at ec chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 339280 at ci chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 59620 at ll chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 109960 at qc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102381 at hc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102306 at vc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102171 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 98781 component stack in ec in div in div in div in so in unknown in n in unknown in div in div in rl in ze in fn in ga in s |
facebookreact | bug eslint hook plugin when use a typeof type guard it require the value as a dependency | Enhancement | version step to reproduce 1 create a component with local state 2 create a useeffect with a variable inside that point to the typeof of the state variable link to code example the current behavior react exhaustive dep complain that the state variable should be include in the dependency list the expect behavior react exhaustive dep shouldn t complain that the state variable should be include in the dependency list because it s value be never use |
facebookreact | error could not find commit datum for root 98 and commit 8 | Bug | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 6 0 6cceaeb67 call stack at n value chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 173658 at p chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 359968 at zc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 360183 at ci chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 59620 at nl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 69923 at ll chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 110996 at qc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102381 at hc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102306 at vc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102171 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 98781 component stack in zc in div in div in so in unknown in n in unknown in div in div in rl in ze in fn in ga in s |
facebookreact | error could not find commit datum for root 957 and commit 2 | Bug | describe what you be do when the bug occur 1 2 3 please do not remove the text below this line devtool version 4 6 0 6cceaeb67 call stack at n value chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 173658 at p chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 359968 at zc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 360183 at ci chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 59620 at nl chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 69923 at ll chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 110996 at qc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102381 at hc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102306 at vc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102171 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 98781 component stack in zc in div in div in so in unknown in n in unknown in div in div in rl in ze in fn in ga in s |
facebookreact | error can not read property duration of undefined | Bug | describe what you be do when the bug occur 1 add interaction tracing with unstable trace 2 record a profile navigate to profiler profile interaction 3 error appear when scroll view or immediately kapture 2020 05 01 at 8 37 44 please do not remove the text below this line devtool version 4 6 0 6cceaeb67 call stack at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 344360 at array map at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 40 344166 at ci chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 59620 at ll chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 109960 at qc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102381 at hc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102306 at vc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 102171 at tc chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 98781 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32 46014 component stack in unknown in unknown in div in div in n in div in bc in div in n in div in vc in div in div in div in so in unknown in n in unknown in div in div in rl in ze in fn in ga in s |
facebookreact | error can not read property duration of undefined | Bug | describe what you be do when the bug occur profile the new fb scroll down to tail load please do not remove the text below this line devtool version 4 6 0 a2fb84beb call stack at chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 345591 at array map at chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 345397 at ai chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 32 62580 at zl chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 32 112694 at jc chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 32 104789 at oc chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 32 104717 at tc chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 32 104585 at gc chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 32 101042 at chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 32 47376 component stack at chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 344679 at div at div at n chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 194307 at div at cc chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 346311 at div at n chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 3 8163 at div at bc at div at div at div at do chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 262081 at chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 364048 at n chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 274563 at chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 277138 at div at div at ol chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 323458 at ze chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 205764 at pn chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 215038 at a chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 292153 at ws chrome extension dnjnjgbfilfphmojnmhliehogmojhclc build main js 40 369231 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.