repository stringclasses 156 values | issue title stringlengths 1 1.01k ⌀ | labels stringclasses 8 values | body stringlengths 1 270k ⌀ |
|---|---|---|---|
facebookreact | bug react not give error on call the component on its render | Duplicate | react version 16 9 53 step to reproduce 1 create a simple react app with create react app with typescript only change app tsx js const app return hello world export default app the current behavior the page just keep load the expect behavior some kind of error for call a component inside itself infinitely |
facebookreact | error commit tree already contain fiber 3419 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 10 1 f160547f47 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19661 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19594 26 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34144 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28206 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35772 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29219 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29336 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32934 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24322 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24811 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29404 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36207 3 |
facebookreact | error getcommittree unable to reconstruct tree for root 1 and commit 4 | 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 10 1 f160547f47 call stack at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19605 9 at profilingcache profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20115 11 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34161 33 at hh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12807 7 at qi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13457 7 at mk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16074 86 at lk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15459 11 at kk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15451 23 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15435 5 at wj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15047 105 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34144 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28206 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35772 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29219 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29336 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32934 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24322 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24811 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29404 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36207 3 |
facebookreact | bug react test renderer provide no equivalent to attachto option of enzyme mandatory to snapshot leaflet and other | Duplicate | react version 16 13 1 step to reproduce 1 in a project with react and 2 ts import react from react import renderer from react test renderer import map tilelayer from react leaflet let component renderer create link to code example the current behavior it raise an error map container not find the expect behavior enzyme s attachto option allow to mount the comment in a more realistic environment which fix this bug but there be no equivalent feature in react test renderer as far as I know see for more info about the enzyme fix for this issue it should render the map as expect |
facebookreact | bug | Invalid | react version step to reproduce 1 2 link to code example the current behavior the expect behavior |
facebookreact | error commit tree do not contain fiber 2672 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 start the profiler 2 navigate to a different page 3 maximum update depth exceed bug in my code 4 stop the profiler please do not remove the text below this line devtool version 4 10 1 f160547f47 component stack commitflamegraphautosizer moz extension fec50d2c deab 43b0 a284 f3b1ab9cc94f build main js 34144 50 div div div settingsmodalcontextcontroller moz extension fec50d2c deab 43b0 a284 f3b1ab9cc94f build main js 28205 40 profiler profiler moz extension fec50d2c deab 43b0 a284 f3b1ab9cc94f build main js 35772 50 errorboundary errorboundary moz extension fec50d2c deab 43b0 a284 f3b1ab9cc94f build main js 29219 5 portaledcontent moz extension fec50d2c deab 43b0 a284 f3b1ab9cc94f build main js 29336 27 div div profilercontextcontroller moz extension fec50d2c deab 43b0 a284 f3b1ab9cc94f build main js 32933 35 treecontextcontroller moz extension fec50d2c deab 43b0 a284 f3b1ab9cc94f build main js 24321 31 settingscontextcontroller moz extension fec50d2c deab 43b0 a284 f3b1ab9cc94f build main js 24810 35 modaldialogcontextcontroller moz extension fec50d2c deab 43b0 a284 f3b1ab9cc94f build main js 29403 38 devtool devtool moz extension fec50d2c deab 43b0 a284 f3b1ab9cc94f build main js 36206 27 |
facebookreact | can I help | Question | hi guy I would really like to join you in order to help with the maintenance of react my change proposal be to apply the clean code rule to react codebase for example well name to variable single point of return have short function with a single purpose in order to avoid a long code review process I would like to make 1 pr for each package that I m go to edit I ve already sign the cla hope you ll be interested in this matteo |
facebookreact | error commit tree already contain fiber 432 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 look at profiler 2 click right once 3 click leave twice please do not remove the text below this line devtool version 4 10 1 f160547f47 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19661 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19594 26 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34144 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28206 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35772 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29219 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29336 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32934 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24322 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24811 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29404 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36207 3 |
facebookreact | error commit tree already contain fiber 140 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 I be try to stop re render of my react project 2 this error occur when I be check commit information for a component please do not remove the text below this line devtool version 4 10 1 f160547f47 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19661 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19594 26 at profilingcache profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20115 11 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34161 33 at hh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12807 7 at qi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13457 7 at mk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16074 86 at lk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15459 11 at kk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15451 23 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15435 5 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34144 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28206 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35772 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29219 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29336 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32934 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24322 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24811 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29404 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36207 3 |
facebookreact | error commit tree do not contain fiber 19196 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 10 1 f160547f47 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19729 21 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19594 26 at profilingcache profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20115 11 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34161 33 at hh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12807 7 at qi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13457 7 at mk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16074 86 at lk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15459 11 at kk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15451 23 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15435 5 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34144 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28206 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35772 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29219 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29336 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32934 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24322 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24811 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29404 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36207 3 |
facebookreact | bug | Invalid | react version step to reproduce 1 2 link to code example the current behavior the expect behavior |
facebookreact | bug the initial page load fail in ie11 with react 16 14 and above | Bug | I create the simple hello world react application that I can think of I use cra the source code be here the deploy application be here the deploy application be what you see in the git repo with react 16 14 0 and that fail in ie11 you see hello world if the page be successfully load it work fine in firefox chrome edge etc but fail to load in ie11 react fail to load and in the dom explorer I see in the console I get script5022 minify react error 31 visit for the full message or use the non minified dev environment for full error and additional helpful warning 2 72241442 chunk js 2 239441 which be the full text of the error you just encounter be object be not valid as a react child find object with key typeof type key ref prop owner if you mean to render a collection of child use an array instead note that the very same code work just fine in ie11 with react 16 13 1 and only break with 16 14 0 and above it also fail with 17 0 1 any help be greatly appreciate |
facebookreact | error commit tree do not contain fiber 119 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 10 1 f160547f47 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19729 21 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19574 26 at profilingcache profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20115 11 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34161 33 at hh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12807 7 at qi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13457 7 at mk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16074 86 at lk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15459 11 at kk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15451 23 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15435 5 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34144 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28206 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35772 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29219 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29336 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32934 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24322 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24811 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29404 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36207 3 |
facebookreact | bug trail comma in array and dict | null | the learn react tic tac toe game tutorial show a trail comma at the end of dictionary value this be know to cause issue with internet explorer hope you can change that react version lts step to reproduce 1 run tic tac toe tutorial code link to code example the current behavior internet explorer throw weird error the expect behavior internet explorer load the tic toe game without any ussye |
facebookreact | error commit tree do not contain fiber 5766 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 profiling rechart library 2 filter on commit great than 3s 3 walk through the commit do a next next please do not remove the text below this line devtool version 4 10 1 f160547f47 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19729 21 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19594 26 at profilingcache profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20115 11 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34161 33 at hh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12807 7 at qi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13457 7 at mk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16074 86 at lk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15459 11 at kk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15451 23 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15435 5 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34144 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28206 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35772 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29219 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29336 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32934 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24322 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24811 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29404 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36207 3 |
facebookreact | error commit tree already contain fiber 1719 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 10 1 f160547f47 call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19661 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19594 26 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19587 32 at profilingcache profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20115 11 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34144 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28206 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35772 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29219 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29336 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32934 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24322 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24811 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29404 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36207 3 |
facebookreact | bug mobx like observer pattern doesn t work with fast refresh because hooks don t get detect | Bug | react version 17 0 0 step to reproduce 1 2 delete one of the hook there link to code example the current behavior you get render more hook than during the previous render error the expect behavior should hot reload and re mount the component the source of the issue have two part 1 react refresh and the bundler fail to inject signature to the component 2 when no signature apparent react refresh consider the component as compatible which be not always true as in the repro l126 l132 I ve file an issue also for the webpack plugin mobx relate issue |
facebookreact | bug react hook exhaustive dep false positive on typescript generic type variable | Bug | react version 16 13 1 step to reproduce 1 use type generic in a useeffect code example typescript function usebug void useeffect let bug t eslint error react hook useeffect have a miss dependency t the current behavior dependency array throw eslint error react hook useeffect have a miss dependency t either include it or remove the dependency array react hook exhaustive dep the expect behavior no miss dependency report |
facebookreact | bug | Duplicate | this behavior have change in react version 17 0 x clean up function should execute when the component unmount example use hook 1 and I ve notice in react v 17 by the time cleanup function execute react reference element be no long available react version 17 0 1 to be clear either this be a bug or the pertinent section on the docs aren t quite accurate in explain exactly when return callback of useeffect execute link to code example work example with react v 16 example with react v 17 notice unmountsuccessful log before divref in react v 17 example this be the only relevant change I notice from the changelog if the behavior of useeffect clean up have change it should be reflect on the docs code snippet javascript const app const divref react useref null react useeffect console log divref divref current return function cleanup console log cleanup divref divref current return open browser s console for output reactdom render document getelementbyid root const unmountapp console log unmounte root const node document getelementbyid root const unmountsuccessful reactdom unmountcomponentatnode node console log unmountsuccessful unmountsuccessful window settimeout unmountapp 1500 |
facebookreact | error getcommittree unable to reconstruct tree for root 1 and commit 12 | 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 10 0 11a2ae3a0d call stack at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19594 9 at profilingcache profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20104 11 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34150 33 at fh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12806 7 at ni chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13448 7 at jk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16065 86 at ik chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15450 11 at hk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15442 23 at zj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15426 5 at tj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15038 105 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34133 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28195 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35761 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29208 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29325 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32923 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24311 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24800 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29393 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36196 3 |
facebookreact | bug | Invalid | react version step to reproduce 1 2 link to code example the current behavior the expect behavior |
facebookreact | eslint plugin react hook bug eslint crash if there s a useeffect uselayouteffect invocation without any argument | Bug | eslint plugin react hook version 4 2 0 step to reproduce I know it shouldn t exist in production code but it s annoying while edit some file js import react useeffect from react const app useeffect return null export default app link to code example the current behavior eslint crash typeerror can not read property type of undefined the expect behavior eslint doesn t crash but report an error instead |
facebookreact | bug run exception in chrome extension | Duplicate | react version 17 0 1 step to reproduce 1 use create react app initialize project 2 code 3 yarn build 4 enter the second input tab 5 input no focus and no redraw 6 but debug the element value be change link to code example import react from react import style from app module less import switch from component switch import produce draft from immer const initialstate globalsette globalenable false proxys const reducer produce state draft action type string payload any switch action type case globalenablechange state globalenable action payload return case ruleswitchchange state proxys action payload ruleindex enable action payload val return case ruleregchange state proxys action payload ruleindex reg action payload val return case ruleaddhost state proxys action payload host push domain ip enable true return case rulesubhost state proxys action payload ruleindex host splice action payload hostindex 1 return case hostswitchchange state proxys action payload ruleindex host action payload hostindex enable action payload val return case addrule state proxys push enable true reg host return case delrule state proxys splice action payload 1 return case hostdomainchange state proxys action payload ruleindex host action payload hostindex domain action payload val return case hostipchange state proxys action payload ruleindex host action payload hostindex ip action payload val return case submit localstorage setitem globalenable state globalenable true false localstorage setitem proxys json stringify state proxys chrome extension getbackgroundpage proxysubmit return default throw new error function initializer const proxystr localstorage getitem proxys let proxys rule if proxystr proxys json parse proxystr const globalenablestr localstorage getitem globalenable let globalenable boolean false if globalenablestr globalenablestr true globalenable true return globalenable proxys function app const state dispatch react usereducer reducer initialstate initializer return dispatch type globalenablechange payload val state proxys map rule ruleindex array return dispatch type ruleswitchchange payload val ruleindex dispatch type ruleregchange payload val val target value ruleindex rule host map host hostindex return dispatch type hostswitchchange payload val ruleindex hostindex dispatch type hostdomainchange payload val val target value ruleindex hostindex dispatch type hostipchange payload val val target value ruleindex hostindex dispatch type rulesubhost payload ruleindex hostindex dispatch type ruleaddhost payload ruleindex host dispatch type delrule payload ruleindex dispatch type addrule dispatch type submit export default app the current behavior image the expect behavior image |
facebookreact | error can not read property iscollapse of undefined | 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 10 0 11a2ae3a0d call stack at store store getelementatindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 21215 35 at store store getelementidatindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 21231 26 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28667 63 at list render chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22923 18 at si chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13506 76 at ri chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13497 10 at jk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16068 86 at ik chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15450 11 at hk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15442 23 at zj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15426 5 component stack at list chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22618 30 at div at autosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 3002 5 at div at div at tree tree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28418 47 at div at div at inspectedelementcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28910 3 at ownerslistcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27547 3 at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28195 3 at component component chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33372 52 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29208 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29325 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32923 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24311 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24800 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29393 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36196 3 |
facebookreact | bug use typescript error | Duplicate | create a react project with typescript and start to report error as soon as it run error d xxxxxx node modules react script script util verifytypescriptsetup js 239 apptsconfig compileroption option value typeerror can not assign to read only property jsx of object at verifytypescriptsetup d code react demo ts node module react script script util verifytypescriptsetup js 239 43 at object d code react demo ts node module react script script start js 31 1 at module compile internal modules cjs loader js 1063 30 at object module extension js internal modules cjs loader js 1092 10 at module load internal modules cjs loader js 928 32 at function module load internal module cjs loader js 769 14 at function executeuserentrypoint as runmain internal module run main js 72 12 at internal main run main module js 17 47 error command fail with exit code 1 |
facebookreact | error can not read property iscollapse of undefined | 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 10 0 11a2ae3a0d call stack at store store getelementatindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 21215 35 at store store getelementidatindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 21231 26 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28667 63 at list render chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22923 18 at si chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13506 76 at ri chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13497 10 at jk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16068 86 at ik chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15450 11 at hk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15442 23 at zj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15426 5 component stack at list chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22618 30 at div at autosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 3002 5 at div at div at tree tree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28418 47 at div at div at inspectedelementcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28910 3 at ownerslistcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27547 3 at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28195 3 at component component chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33372 52 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29208 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29325 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32923 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24311 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24800 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29393 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36196 3 |
facebookreact | error can not read property iscollapse of undefined | Duplicate | describe what you be do when the bug occur 1 try to access component tab in chrome dev tool 2 3 please do not remove the text below this line devtool version 4 10 0 11a2ae3a0d call stack at store store getelementatindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 21215 35 at store store getelementidatindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 21231 26 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28667 63 at list render chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22923 18 at si chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13506 76 at ri chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13497 10 at jk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16068 86 at ik chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15450 11 at hk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15442 23 at zj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15426 5 component stack at list chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22618 30 at div at autosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 3002 5 at div at div at tree tree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28418 47 at div at div at inspectedelementcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28910 3 at ownerslistcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27547 3 at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28195 3 at component component chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33372 52 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29208 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29325 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32923 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24311 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24800 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29393 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36196 3 |
facebookreact | error could not find node with i d 7348 in commit tree | Bug | describe what you be do when the bug occur 1 run profiler 2 click on rank please do not remove the text below this line devtool version 4 10 0 11a2ae3a0d call stack at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20039 13 at map foreach at rankedchartbuilder getchartdata chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20035 24 at profilingcache profilingcache getrankedchartdata chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20157 11 at commitrankedautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34416 32 at fh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12806 7 at jk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16003 11 at ik chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15450 11 at hk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15442 23 at zj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15426 5 component stack at commitrankedautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34395 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28195 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35761 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29208 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29325 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32923 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24311 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24800 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29393 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36196 3 |
facebookreact | error commit tree already contain fiber 48 this be a bug in react devtool | Duplicate | describe what you be do when the bug occur 1 start profiler 2 stop profiler 3 click on the arrow to see the next commit I try and it work shrug please do not remove the text below this line devtool version 4 9 0 75726fadfd component stack commitflamegraphautosizer moz extension e4e94e2d 7b62 42fe 80eb d114edb77438 build main js 33986 50 div div div settingsmodalcontextcontroller moz extension e4e94e2d 7b62 42fe 80eb d114edb77438 build main js 28047 1 profiler profiler moz extension e4e94e2d 7b62 42fe 80eb d114edb77438 build main js 35614 50 errorboundary errorboundary moz extension e4e94e2d 7b62 42fe 80eb d114edb77438 build main js 29061 5 portaledcontent moz extension e4e94e2d 7b62 42fe 80eb d114edb77438 build main js 29178 27 div div profilercontextcontroller moz extension e4e94e2d 7b62 42fe 80eb d114edb77438 build main js 32775 1 treecontextcontroller moz extension e4e94e2d 7b62 42fe 80eb d114edb77438 build main js 24163 1 settingscontextcontroller moz extension e4e94e2d 7b62 42fe 80eb d114edb77438 build main js 24652 1 modaldialogcontextcontroller moz extension e4e94e2d 7b62 42fe 80eb d114edb77438 build main js 29245 1 devtool devtool moz extension e4e94e2d 7b62 42fe 80eb d114edb77438 build main js 36048 1 |
facebookreact | error commit tree do not contain fiber 13861 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 10 0 11a2ae3a0d component stack commitflamegraphautosizer moz extension 6d279fb6 5484 4bfe af1b 7776429d75f6 build main js 34133 50 div div div settingsmodalcontextcontroller moz extension 6d279fb6 5484 4bfe af1b 7776429d75f6 build main js 28194 1 profiler profiler moz extension 6d279fb6 5484 4bfe af1b 7776429d75f6 build main js 35761 50 errorboundary errorboundary moz extension 6d279fb6 5484 4bfe af1b 7776429d75f6 build main js 29208 5 portaledcontent moz extension 6d279fb6 5484 4bfe af1b 7776429d75f6 build main js 29325 27 div div profilercontextcontroller moz extension 6d279fb6 5484 4bfe af1b 7776429d75f6 build main js 32922 1 treecontextcontroller moz extension 6d279fb6 5484 4bfe af1b 7776429d75f6 build main js 24310 1 settingscontextcontroller moz extension 6d279fb6 5484 4bfe af1b 7776429d75f6 build main js 24799 1 modaldialogcontextcontroller moz extension 6d279fb6 5484 4bfe af1b 7776429d75f6 build main js 29392 1 devtool devtool moz extension 6d279fb6 5484 4bfe af1b 7776429d75f6 build main js 36195 1 |
facebookreact | bug use exhaustive dep static analysis doesn t work with destructure assignment or safety operator | Duplicate | use destructure assignment on object falsely trigger use exhaustive dep for example I would expect the following not to trigger lint rule javascript const object hello world foo bar useeffect const hello object console log hello object hello the linter insist I pass object to the dependency array which be problematic since object be compare by reference instead of value I could destructure out of the useeffect block but this can cause naming collision for big component hook I can also assign variable the old fashioned way but that conflict with our code style the linte rule also have trouble with safety operator javascript const object hello world foo bar useeffect const hello object hello console log hello object hello will cause it to ask for object in the dependency array |
facebookreact | error commit tree do not contain fiber 1069 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 navigate between my route when the record be turn on 2 get this bug please do not remove the text below this line devtool version 4 10 0 11a2ae3a0d call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19718 21 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19563 26 at profilingcache profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20104 11 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34150 33 at fh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12806 7 at ni chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13448 7 at jk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16065 86 at ik chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15450 11 at hk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15442 23 at zj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15426 5 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34133 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28195 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35761 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29208 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29325 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32923 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24311 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24800 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29393 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36196 3 |
facebookreact | error commit tree already contain fiber 960 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 monitoring page load with reactdevtool profiler 2 stop the recording 3 select a render phase in the flamegraph please do not remove the text below this line devtool version 4 10 0 11a2ae3a0d call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19650 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19583 26 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19576 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19576 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19576 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19576 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19576 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19576 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19576 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19576 32 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34133 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28195 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35761 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29208 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29325 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32923 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24311 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24800 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29393 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36196 3 |
facebookreact | devtool component tab go blank with react 16 8 0 | Bug | react version 16 8 0 step to reproduce install react 16 8 0 1 build a hello world with any component 2 open react dev tool 3 choose component tab 4 nothing will be see link to code example the current behavior tab component be blank the expect behavior tab component should show react component fyi I instal material ui library chrome versi n 86 0 4240 183 build oficial 64 bit ubuntu 18 04 test today versi n 4 10 0 11 12 2020 actualizado 13 de noviembre de 2020 |
facebookreact | eslint plugin react hook eslint doesn t see the conditional operator | Bug | lint doesn t see wrong javascript import react usecallback from react export const example const onefn console log hi from onefn const item onefn usecallback console log hi from usecallback return click on I 2020 11 13 09 59 03 otherwise everything be fine javascript import react usecallback from react export const example const onefn console log hi from onefn const item onefn usecallback console log hi from usecallback return click on I 2020 11 13 09 55 14 react version 16 13 17 0 link to code example |
facebookreact | bug react file viewer 1 2 1 1 | Duplicate | react version 16 13 1 step to reproduce 1 package json react file viewer 2 npm install 3 npm run build link to code example the current behavior the expect behavior |
facebookreact | bug eslint plugin react hook can not read property type of undefined at analyzepropertychain | Bug | react version json react 16 14 0 eslint plugin react hook 4 2 0 step to reproduce 1 lint file with content below js usecustomhook js import useeffect from react export function usecustomhook someobject useeffect someobject optionalfield method js eslint rc module export root true env es6 true parseroption ecmaversion 2020 sourcetype module ecmafeature jsx true setting react version detect plugin react hook extend plugin react hook recommend the current behavior eslint report error can not read property type of undefined occur while linte l1624 l1625 the expect behavior eslint rule should not crash accord to issuecomment 655151489 optional chaining should be support I be test an eslint testing tool I ve be create and run into this issue I can work on a fix for this later if need here s the result and log error result rule unable to parse rule i d message can not read property type of undefined occur while linte 45 path elastic kibana x pack plugin security solution public detection container detection engine rule use rule tsx link l45 tsx const refetchrule useref refreshprepackagedrule boolean void noop const loading setloade usestate true const dispatchtoaster usestatetoaster useeffect let issubscribe true const abortctrl new abortcontroller async function fetchdata try typeerror can not read property type of undefined occur while linte 45 at analyzepropertychain eslint remote tester node modules eslint plugin react hooks cjs eslint plugin react hooks development js 2235 12 at analyzepropertychain eslint remote tester node modules eslint plugin react hooks cjs eslint plugin react hooks development js 2264 20 at eslint remote tester node modules eslint plugin react hooks cjs eslint plugin react hooks development js 1297 34 at array foreach at visitfunctionwithdependencie eslint remote tester node modules eslint plugin react hooks cjs eslint plugin react hooks development js 1277 43 at visitcallexpression eslint remote tester node modules eslint plugin react hooks cjs eslint plugin react hooks development js 1737 11 at eslint remote tester node modules eslint lib linter safe emitter js 45 58 at array foreach at object emit eslint remote tester node modules eslint lib linter safe emitter js 45 38 at nodeeventgenerator applyselector eslint remote tester node modules eslint lib linter node event generator js 254 26 log full log do ariperkkio js framework playground 0 error do oldboyxx jira clone 0 error warn linte city t take 7 at reach reach ui package combobox example warn linte city js take 6s at reach reach ui website src component do reach reach ui 0 error do ant design ant design 0 error do streakyc react smooth collapse 0 error warn pmndrs react spring crash no useless constructor do pmndrs react spring 1 error do ariperkkio scrpr 0 error do react bootstrap react bootstrap 0 error do ariperkkio suspense example 0 error do ariperkkio state mgmt example 0 error warn withspectrum spectrum crash no useless constructor do withspectrum spectrum 1 error do codesandbox codesandbox client 0 error warn linte index js take 40 at mui org material ui package material ui icon src warn mui org material ui crash no useless constructor do mui org material ui 2 error do reactjs reactjs org 0 error do zesty io account ui 0 error do zesty io design system 0 error do segmentio evergreen 0 error do segmentio ui box 0 error do kentcdodd kentcdodd com 0 error do kentcdodd react fundamental 0 error do kentcdodd test react app 0 error do kentcdodd react suspense 0 error do kentcdodd react hook 0 error do artsy force 0 error do kentcdodd react performance 0 error do kentcdodd advanced react hook 0 error do kentcdodd advanced react pattern 0 error do kentcdodd bookshelf 0 error do kentcdodd react testing library example 0 error do kentcdodd react testing library course 0 error do kentcdodd learn react 0 error do kentcdodd concurrent react 0 error warn linte material min js take 7s at project bobon bobonroastprofile public do project bobon bobonroastprofile 0 error do gothinkster react redux realworld example app 0 error do 1ven do 0 error do dockunit platform 0 error do afghl dribbble demo 0 error do ismaelgt english accent map 0 error do devalien dripr ui 0 error do rwieruch favesound mobx 0 error do rwieruch favesound redux 0 error do skid flatris 0 error do feednext feednext 0 error do pearofduck foodprocessor 0 error do limichange flex editor 0 error do hvf franchise 0 error do vercel hyper 0 error do getguesstimate guesstimate app 0 error do stevenhauser I have to return some videotape 0 error do bebraw invoice frontend 0 error do gpbl isomorphic500 0 error do webbylab itsquiz wall 0 error do docker kitematic 0 error do kratelabs kratelabs app 0 error do afghl dribble demo 0 error do zeit hyper 0 error do koodilehto invoice frontend 0 error do insin lifequote 0 error do paulhoughton mortgage 0 error do paulhoughton mortgage mobx 0 error do browniefe pdxlivebus 0 error warn linte jquery js take 9 at khan perseus lib warn skid illustrate algorithm fail to pull do skidding illustrate algorithm 0 error warn linte kas js take 9 at khan perseus lib warn linte katex js take 8s at khan perseus lib katex warn linte less js take 11 at khan perseus lib warn linte mathquill basic js take 8s at khan perseus lib mathquill warn linte raphael js take 7s at khan perseus lib do guyelli plant 0 error do benoitvallon react native nw react calculator 0 error warn linte react with addon js take 22 at khan perseus lib do insin react hn 0 error do leoaj react itune search 0 error warn formidablelab react music crash no useless constructor do formidablelab react music 1 error do echenley react news 0 error warn linte vendor min js take 27s at lkazberova react photo feed static do lkazberova react photo feed 0 error do khan perseus 0 error do pl12133 react solitaire 0 error warn linte bundle js take 18 at afonsopacifer react pomodoro app do afonsopacifer react pomodoro 0 error do chvin react tetris 0 error do web pal react trello board 0 error do fcsonline react transmission 0 error do skempin reactjs tmdb app 0 error do fullstackreact react yelp clone 0 error do hoppula refire forum 0 error warn linte bootstrap min js take 8s at antoinejaussoin retro board retro board app public marketing js do ritoplz ritoplz 0 error do andrewngu sound redux 0 error do antoinejaussoin retro board 0 error do formidablelab spectacle 0 error do torontojs torontojs com 0 error do sprintly sprintly ui 0 error warn captbaritone winamp2 js crash no useless constructor do captbaritone winamp2 js 1 error do automattic wp calypso 0 error do marmelab react admin 0 error do reactstrap reactstrap 0 error do palantir blueprint 0 error do semantic org semantic ui react 0 error do grommet grommet 0 error do rebassjs rebass 0 error do fortawesome react fontawesome 0 error warn microsoft fluentui crash no useless constructor do chakra ui chakra ui 0 error warn reakit reakit crash no useless constructor do reakit reakit 1 error do rsuite rsuite 0 error warn linte calendar js take 26 at primeface primereact src component calendar do uber baseweb 0 error do coud react bulma component 0 error do kulakowka react bulma 0 error do dfee rbx 0 error warn linte index ts take 13 at microsoft fluentui package react icon mdl2 src do primeface primereact 0 error do fibo trunx 0 error do knipferrc tail ui 0 error do emortlock tailwind react ui 0 error do geist org react 0 error warn linting list tsx take 8s at microsoft fluentui package react internal src component list do brillout awesome react component 0 error warn linte react datepicker js take 16 at elastic eui package do jedwatson react select 0 error do atlassian react beautiful dnd 0 error do react dnd react dnd 0 error do strml react grid layout 0 error do microsoft fluentui 1 error do adazzle react datum grid 0 error do tannerlinsley react table 0 error warn elastic eui crash no useless constructor do mzabriskie react draggable 0 error do strml react resizable 0 error do bokuweb react resizable and movable 0 error do elastic eui 1 error do axmz react searchbox awesome 0 error do bokuweb react resizable box 0 error do bokuweb react sortable pane 0 error do aeagle react space 0 error do hacker0x01 react datepicker 0 error warn linte daypickerrangecontroller spec jsx take 8s at airbnb react date test component do orgsync react list 0 error do airbnb react date 0 error warn linte bundle js take 45 at intljusticemission react big calendar example do intljusticemission react big calendar 0 error do i18next react i18next 0 error do davidtheclark react aria modal 0 error warn linte test262 main ts take 10 at yahoo react intl package intl listformat warn linte app js take 18 at glortho react keydown example public js do glortho react keydown 0 error warn linte test262 main ts take 7 at yahoo react intl package intl numberformat do gilbarbara react joyride 0 error do greena13 react hotkeys 0 error do bvaughn react window 0 error warn text mask text mask crash no useless constructor warn linte test262 main ts take 41 at yahoo react intl package intl relativetimeformat do yahoo react intl 0 error do bvaughn react virtualize 0 error do dvtng react load skeleton 0 error do kyleamathew react spinkit 0 error do zpao qrcode react 0 error do airbnb rheostat 0 error do pierpo react archer 0 error warn linte bundle js take 23 at text mask text mask website static do text mask text mask 1 error do mkosir react parallax tilt 0 error do rackt react autocomplete 0 error do phuoc ng react pdf viewer 0 error do eliseumds react autocomplete 0 error do moroshko react autosuggest 0 error do prometheusresearch react autocomplete 0 error do gragland instatype 0 error do paypal downshift 0 error do ericgio react bootstrap typeahead 0 error do matteobruni tsparticle 0 error do facebook react art 0 error do flipboard react canvas 0 error do pilwon react famous 0 error do kmkzt react hook svgdrawe 0 error do gorangajic react svg morph 0 error warn linte kinetic v5 1 0 js take 14 at freiksenet react kinetic vendor do freiksenet react kinetic 0 error do chrvadala react svg pan zoom 0 error do reduction admin react reduction 0 error do jeffersonribeiro react shop cart 0 error do clintonwoo hackernew react graphql 0 error do firefox devtool debugger 0 error do gaearon overreact io 0 error warn linte admin definition jsx take 6s at mattermost mattermost webapp component admin console do dnote dnote 0 error warn elastic kibana crash no useless constructor do mattermost mattermost webapp 0 error warn elastic kibana crash unable to parse rule i d do elastic kibana 8 error do finish scan of 164 repository do in 3720 16 |
facebookreact | error commit tree do not contain fiber 1527 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 go to profile tag 2 click to record 3 after stop record click on any commit please do not remove the text below this line devtool version 4 9 0 75726fadfd component stack commitflamegraphautosizer moz extension 7ef91e4d 0a91 434a b6fa c2646d78406c build main js 33986 50 div div div settingsmodalcontextcontroller moz extension 7ef91e4d 0a91 434a b6fa c2646d78406c build main js 28047 1 profiler profiler moz extension 7ef91e4d 0a91 434a b6fa c2646d78406c build main js 35614 50 errorboundary errorboundary moz extension 7ef91e4d 0a91 434a b6fa c2646d78406c build main js 29061 5 portaledcontent moz extension 7ef91e4d 0a91 434a b6fa c2646d78406c build main js 29178 27 div div profilercontextcontroller moz extension 7ef91e4d 0a91 434a b6fa c2646d78406c build main js 32775 1 treecontextcontroller moz extension 7ef91e4d 0a91 434a b6fa c2646d78406c build main js 24163 1 settingscontextcontroller moz extension 7ef91e4d 0a91 434a b6fa c2646d78406c build main js 24652 1 modaldialogcontextcontroller moz extension 7ef91e4d 0a91 434a b6fa c2646d78406c build main js 29245 1 devtool devtool moz extension 7ef91e4d 0a91 434a b6fa c2646d78406c build main js 36048 1 |
facebookreact | bug devtool the expand state and the state object be out of sync | Bug | react version 16 13 1 step to reproduce 1 have a switch with state in react native and toggle the switch by open devtool and use the checkbox provide for the state 2 now toggle the switch use ui the state object get update but not the expand one link to code example the current behavior allergy state be true on the top but on expand state it be false screenshot from 2020 11 06 16 48 37 the expect behavior both must be in sync |
facebookreact | error can not read property length of undefined | Bug | describe what you be do when the bug occur 1 use the profiler I get this error can t figure out what to do try clear my browser datum please do not remove the text below this line devtool version 4 9 0 75726fadfd call stack at getchartdata chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19767 32 at profilingcache profilingcache getflamegraphchartdata chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19992 11 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34007 32 at hh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12871 7 at qi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13521 7 at nk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16162 86 at mk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15541 11 at lk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15533 23 at dk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15517 5 at xj chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15129 105 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33986 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28048 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35614 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29061 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29178 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32776 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24164 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24653 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29246 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36049 3 |
facebookreact | bug react developer tool chrome extension build error | Bug | a recent update to the react developer tool chrome extension look like it have a build issue the current behaviour chrome console be report devtool fail to load sourcemap could not load content for chrome extension fmkadmapgofadopljbjfkapdkoienihi build injectglobalhook js map http error status code 404 net err unknown url scheme look at the map file it contain a lot of reference to local path on bvaughn s computer json version 3 source webpack webpack bootstrap webpack user bvaughn documents git react alt2 build node modules react index js webpack react devtool share src type js webpack user bvaughn documents git react alt2 build node module react be index js webpack react devtool share src hook js webpack src injectglobalhook js webpack user bvaughn documents git react alt2 node modules clipboard js clipboard js webpack share reactsymbol js webpack react devtool share src util js webpack react devtool share node modules semver semver js webpack react devtool share src constant js webpack user bvaughn documents git react alt2 node modules object assign index js webpack user bvaughn documents git react alt2 node modules lru cache index js webpack share consolepatchingdev js webpack react devtool share src backend devtoolscomponentstackframe js webpack react devtool share src backend devtoolsfibercomponentstack js webpack react devtool share src backend console js webpack react devtool share src backend util js webpack react devtool share src backend renderer js webpack react devtool share src backend reactsymbol js webpack user bvaughn documents git react alt2 node modules process browser js webpack user bvaughn documents git react alt2 node modules lru cache node modules yallist yallist js webpack user bvaughn documents git react alt2 node modules lru cache node modules yallist iterator js webpack user bvaughn documents git react alt2 build node module react be cjs react be production min js webpack react devtool share src devtool view root css webpack user bvaughn documents git react alt2 build node module react cjs react production min js webpack user bvaughn documents git react alt2 build node module react debug tool index js webpack user bvaughn documents git react alt2 build node module react debug tool cjs react debug tool production min js webpack user bvaughn documents git react alt2 node module error stack parser error stack parser js webpack user bvaughn documents git react alt2 node module stackframe stackframe js webpack user bvaughn documents git react alt2 node module nullthrow nullthrow js webpack react devtool share src storage js webpack react devtool share src hydration js name process module export require elementtypeclass elementtypecontext elementtypefunction elementtypeforwardref elementtypehostcomponent elementtypememo elementtypeotherorunknown elementtypeprofiler elementtyperoot elementtypesu the expect behaviour no chrome message complain about the sourcemap |
facebookreact | error can not read property iscollapse of undefined | Bug | describe what you be do when the bug occur 1 fetch datum from gh api 2 try to append picture to a slider p 3 happily hack please do not remove the text below this line devtool version 4 9 0 75726fadfd call stack at store store getelementatindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 21068 35 at store store getelementidatindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 21084 26 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28520 63 at list render chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22776 18 at wi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13590 76 at vi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13581 10 at nk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16165 86 at mk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15541 11 at lk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15533 23 at dk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15517 5 component stack at list chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 22471 30 at div at autosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 3006 5 at div at div at tree tree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28271 47 at div at div at inspectedelementcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28763 3 at ownerslistcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 27400 3 at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28048 3 at component component chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33225 52 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29061 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29178 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32776 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24164 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24653 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29246 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36049 3 |
facebookreact | bug react hook exhaustive dep false positive when dep be define with typescript const type | Bug | react version 17 0 1 step to reproduce 1 setup eslint with typescript eslint parser as parser 2 add as const to the deps array function mycomp const state setstate usestate useeffect console log state state as const return hello world link to code example the current behavior the follow error be report 5 5 warning react hook useeffect be pass a dependency list that be not an array literal this mean we can t statically verify whether you ve pass the correct dependency react hook exhaustive dep 5 5 warning react hook useeffect have a miss dependency state either include it or remove the dependency array the expect behavior the rule should interpret the deps argument correctly why do I need to add as const to the deps array I build my own custom effect hook with the additionalhook option in eslintrc in which a tuple typing give more type hint to the code |
facebookreact | bug webkit calc doesn t work with var when compile css | Invalid | react version 16 13 1 link to code example ps when I ve try to use webkit calc without var npm run build work |
facebookreact | error commit tree already contain fiber 11324 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 9 0 75726fadfd call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19503 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19436 26 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19429 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19429 32 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19429 32 at profilingcache profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19957 11 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34003 33 at hh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12871 7 at qi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13521 7 at nk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16162 86 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33986 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28048 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35614 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29061 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29178 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32776 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24164 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24653 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29246 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36049 3 |
facebookreact | bug new reconciler fork should detach child sible pointer if no passive effect | Bug | in the old reconciler fork after mutation we clear child alternate and return pointer l1054 l1081 we wait to clear sible pointer until passive effect have be process if we commit a root that have no passive effect we immediately detach sible pointer l2135 l2155 in the new reconciler fork we only clear alternate and return pointer after mutation because we need child and sible pointer to traverse the tree for passive effect l2274 l2293 however if we commit a root that have no passive effect we don t clear those pointer so the pointer stay around until another render eventually replace they seem like an oversight |
facebookreact | bug uncaught error unable to find node on an unmounted component in react 17 0 1 | Bug | hi I use react sortable tree package I m my react project in component name tree import react component from react import axio from axio import axio config from axios config import react sortable tree style css import sortabletree from react sortable tree class tree extend component constructor prop super prop this state treedata componentdidmount async axio config url this prop treelink axio config datum try let result await axios axio config console log response from server gotttt console log result if result datum do true this setstate treedata result data tree selectednode result datum tree 0 this prop disableloade else console log result err this prop disableloade catch err console log err render return this setstate treedata when I use tree component in my code it work pretty well in react 16 13 1 but fail and get this error be react 17 0 1 1 of 2 error on the page error unable to find node on an unmounted component 21 stack frame be collapse anonymous function src component utility tree js 114 111 console log result 112 if result datum do true 113 console log result data tree 114 this setstate 115 treedata result data tree 116 selectednode result datum tree 0 117 react dom development js 24281 uncaught error unable to find node on an unmounted component at findhostinstancewithwarne react dom development js 24281 at finddomnode react dom development js 24804 at scrollingcomponent componentdidmount index js 181 at commitlifecycle react dom development js 20663 at commitlayouteffect react dom development js 23426 at htmlunknownelement callcallback react dom development js 3945 at object invokeguardedcallbackdev react dom development js 3994 at invokeguardedcallback react dom development js 4056 at commitrootimpl react dom development js 23151 at unstable runwithpriority scheduler development js 646 at runwithpriority 1 react dom development js 11276 at commitroot react dom development js 22990 at performsyncworkonroot react dom development js 22329 at react dom development js 11327 at unstable runwithpriority scheduler development js 646 at runwithpriority 1 react dom development js 11276 at flushsynccallbackqueueimpl react dom development js 11322 at flushsynccallbackqueue react dom development js 11309 at scheduleupdateonfiber react dom development js 21893 at object enqueuesetstate react dom development js 12467 at tree push node module react cjs react development js component setstate react development js 365 at tree js 114 |
facebookreact | bug can t hydrate useopaqueidentifier generate object in another component | Bug | react version experimental I find this bug while try out useopaqueidentifier on a component that use aria activedescendant it work great on a cra app but it break on server render app the way it s implement be that each item register its i d into a state up in the tree so the container element can get the active i d and render it on the aria activedescendant prop step to reproduce 1 create a simple server render app for example use next js 2 create a component that use react unstable useopaqueidentifier and pass the generate object to a component up in the tree through callback 3 try to render the generate i d to a prop in the ancestor component link to code example the current behavior it throw an error unhandled runtime error error the object pass back from useopaqueidentifier be mean to be pass through to attribute only do not read the value directly call stack object readvalue node module react dom cjs react dom development js 16555 0 diffpropertie node module react dom cjs react dom development js 9475 0 prepareupdate node module react dom cjs react dom development js 10352 0 updatehostcomponent 1 node module react dom cjs react dom development js 20070 0 completework node module react dom cjs react dom development js 20236 0 completeunitofwork node module react dom cjs react dom development js 23738 0 performunitofwork node module react dom cjs react dom development js 23710 0 workloopsync node module react dom cjs react dom development js 23618 0 renderrootsync node module react dom cjs react dom development js 23577 0 performconcurrentworkonroot node module react dom cjs react dom development js 22968 0 workloop node module scheduler cjs scheduler development js 590 0 flushwork node module scheduler cjs scheduler development js 545 0 messageport performworkuntildeadline node module scheduler cjs scheduler development js 157 0 I believe it s trigger here l786 l789 the expect behavior it work well when not use ssr |
facebookreact | bug react devtool chrome warn | Bug | hello have such warning in chrome console image when open url from warn get this config with local path from laptop of bvaughn version 3 source webpack webpack bootstrap webpack share reactsymbol js webpack react devtool share src util js webpack react devtool share src type js webpack react devtool share src backend reactsymbol js webpack react devtool share src constant js webpack react devtool share src storage js webpack react devtool share src backend util js webpack user bvaughn documents git react alt2 build node module react be index js webpack user bvaughn documents git react alt2 node modules object assign index js webpack react devtool share src hydration js webpack share consolepatchingdev js webpack react devtool share src backend devtoolscomponentstackframe js webpack react devtool share src backend devtoolsfibercomponentstack js webpack react devtool share src backend console js webpack react devtool share src event js webpack user bvaughn documents git react alt2 node module lodash throttle index js webpack react devtool share src backend renderer js webpack react devtool share node modules semver semver js webpack user bvaughn documents git react alt2 node module memoize one esm index js webpack react devtool share src backend view util js webpack react devtool share src backend view highlighter overlay js webpack react devtool share src backend view highlighter highlighter js webpack react devtool share src backend view highlighter index js webpack react devtool share src backend view traceupdate canvas js webpack react devtool share src backend view traceupdate index js webpack react devtool share src backend agent js webpack user bvaughn documents git react alt2 node modules lru cache index js webpack user bvaughn documents git react alt2 node modules clipboard js clipboard js webpack user bvaughn documents git react alt2 build node module react debug tool index js webpack src backend js webpack webpack buildin global js webpack react devtool share src devtool view root css webpack user bvaughn documents git react alt2 node modules process browser js webpack user bvaughn documents git react alt2 node modules lru cache node modules yallist yallist js webpack user bvaughn documents git react alt2 node modules lru cache node modules yallist iterator js webpack user bvaughn documents git react alt2 build node module react be cjs react be production min js webpack user bvaughn documents git react alt2 build node module react debug tool cjs react debug tool production min js webpack user bvaughn documents git react alt2 node module error stack parser error stack parser js webpack user bvaughn documents git react alt2 node module stackframe stackframe js webpack user bvaughn documents git react alt2 build node modules react index js webpack user bvaughn documents git react alt2 build node module react cjs react production min js webpack react devtool share src bridge js webpack react devtool share src backend legacy util js webpack react devtool share src backend legacy renderer js webpack react devtool share src backend index js webpack react devtool share src backend nativestyleeditor resolveboxstyle js webpack react devtool share src backend nativestyleeditor setupnativestyleeditor js name devtool info add react debug tool to the chrome developer tool create from revision 75726fadfd on 10 19 2020 |
facebookreact | fast refresh improve dev experience when devtool hook be disable | Good First Issue | the crash be likely be cause by some third party code possibly a browser extension inject a partial devtool hook into the page see below comment for more information we can t prevent this but fast refresh could more gracefully handle this case by check to see if window react devtool global hook isdisable be true like we do here l32 l36 rather than crash fast refresh could print a warning to the console in dev mode say that it win t run because of the disabled hook override original report crash with hook renderer be undefined I have a bit problem when I just do yarn create react app name template redux and start it to learn how to develop I see next on localhost it s vmware virtualhost I have no problem but on host machine I see uncaught typeerror hook renderer be undefined in js console and empty body 2020 10 28 17 49 42 how can I handle it and what this error mean in general |
facebookreact | bug | Bug | react version step to reproduce 1 2 link to code example the current behavior the expect behavior image |
facebookreact | question cm mode and useeffect cleanup | Question | since cm mode now run useeffect cleanup async be we still guarantee that they ll resolve in order by that I mean if a component get s cleanup re render and clean up again that the first cleanup will resolve before the second componenta 1 throw away componenta 2 throw away will that 2 effectively await on the 1 to cleanup first |
facebookreact | testfeature | Invalid | summary test plan |
facebookreact | error commit tree already contain fiber 601 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 9 0 75726fadfd component stack commitrankedautosizer moz extension f4c154e8 040d 4fe9 b83a 727bf9edeb34 build main js 34248 50 div div div settingsmodalcontextcontroller moz extension f4c154e8 040d 4fe9 b83a 727bf9edeb34 build main js 28047 1 profiler profiler moz extension f4c154e8 040d 4fe9 b83a 727bf9edeb34 build main js 35614 50 errorboundary errorboundary moz extension f4c154e8 040d 4fe9 b83a 727bf9edeb34 build main js 29061 5 portaledcontent moz extension f4c154e8 040d 4fe9 b83a 727bf9edeb34 build main js 29178 27 div div profilercontextcontroller moz extension f4c154e8 040d 4fe9 b83a 727bf9edeb34 build main js 32775 1 treecontextcontroller moz extension f4c154e8 040d 4fe9 b83a 727bf9edeb34 build main js 24163 1 settingscontextcontroller moz extension f4c154e8 040d 4fe9 b83a 727bf9edeb34 build main js 24652 1 modaldialogcontextcontroller moz extension f4c154e8 040d 4fe9 b83a 727bf9edeb34 build main js 29245 1 devtool devtool moz extension f4c154e8 040d 4fe9 b83a 727bf9edeb34 build main js 36048 1 |
facebookreact | bug devtool not find show react component | Bug | when I use devtool to select an element on the page it can t jump find it it also doesn t show it in the component page this be check by find its parent and check the child non of the newly generate one be there as a probably relate bug profiler doesn t show record the change react version 16 13 1 react dom version 16 13 1 parcel 2 0 0 beta 1 step to reproduce 1 have a parent element 2 have a child element a 3 use conditional rendering condition a b hide a 4 b now show 5 try and select b use chrome dev tool s select an element in the page to inspect it 6 jump nowhere can t find it manually in the list example 2020 10 26 12 38 43 in this example I demonstrate that it work on the search bar light grey bar which be the textfield inputbase tree and the container that contain the search image and how hover over the image doesn t do anything I then click on the image and nothing happen the state panel on the right of dev tool empty itself the current behaviour can t find newly render component in react dev tool component panel the expect behavior be able to find the newly render component in react dev tool component panel |
facebookreact | bug chrome devtool fail to load sourcemap after upgrade to chrome 86 0 4240 111 | Bug | react devtool version 4 9 0 75726fadfd step to reproduce 1 install react devtool into chrome 86 2 observe chrome error load source map for react devtool link to code example none the current behavior log devtool fail to load sourcemap could not load content for chrome extension fmkadmapgofadopljbjfkapdkoienihi build injectglobalhook js map http error status code 404 net err unknown url scheme devtool fail to load sourcemap could not load content for chrome extension fmkadmapgofadopljbjfkapdkoienihi build react devtool backend js map http error status code 404 net err unknown url scheme devtool fail to load sourcemap could not load content for chrome extension fmkadmapgofadopljbjfkapdkoienihi build contentscript js map http error status code 404 net err unknown url scheme the expect behavior show no error workaround disable javascript source map in chrome devtool open chrome devtool click three dot menu in upper right corner find setting under more tool uncheck enable javascript source map workaround that don t work remove all map file in config google chrome default extension fmkadmapgofadopljbjfkapdkoienihi 4 9 0 0 build remove all map file from config google chrome default extension fmkadmapgofadopljbjfkapdkoienihi 4 9 0 0 edit each js file in config google chrome default extension fmkadmapgofadopljbjfkapdkoienihi 4 9 0 0 build to remove the line with sourcemappingurl this change the hash of each file and chrome will refuse to load the extension other note os manjaro linux |
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 upgrade react reactdom version to 17 0 0 2 reload specific page via profiler 3 click a chart inside flamegraph chart 3 the page be work just fine but the profiler have stop work please do not remove the text below this line devtool version 4 9 0 75726fadfd call stack at updatetree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19503 17 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19436 26 at profilingcache profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19957 11 at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 34003 33 at hh chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 12871 7 at qi chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 13521 7 at nk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 16162 86 at mk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15541 11 at lk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15533 23 at dk chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 15517 5 component stack at commitflamegraphautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 33986 50 at div at div at div at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 28048 3 at profiler profiler chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 35614 50 at errorboundary errorboundary chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29061 5 at portaledcontent chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29178 32 at div at div at profilercontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 32776 3 at treecontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24164 3 at settingscontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 24653 3 at modaldialogcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 29246 3 at devtool devtool chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 36049 3 |
facebookreact | update readme | Invalid | summary test plan |
facebookreact | bug error loading source map for devtool extension | Bug | react version 16 x x step to reproduce 1 have late react devtool instal in chrome 2 open console and see warn about failure to load source map look to be relate to link to code example the current behavior console log about failure to load source map the expect behavior no console log because of the extension |
facebookreact | bug useeffect timing change depend on if portal be render | Bug | this be a weird one basically if you add an event listener to the document in an effect that be trigger by an event e g click toggle some state which trigger an effect which add a click handler to the document in the normal case the new event handler will miss the trigger event e g the add click handler win t respond to the click event that trigger it be add omg however if you render a portal first the timing change slightly and the add event handler will see the current event react version 17 step to reproduce 1 click the show message button to see a message toggle in and out 2 click the render portal button see a portal render into the body 3 click the show message button again and notice nothing happen the reason for the final behavior be the click event both open and close the message call set state twice link to code example the current behavior the expect behavior that they be consistent |
facebookreact | react dom 17 break on internet explorer | Bug | after update react dom to version 17 the build now include array fill which isn t support by ie11 without polyfille come from this line test with just the default cra production build to make sure it wasn t a problem with my webpack config and the same issue l671 test use cra on version 16 9 8 of react and react dom which work with the production build for ie11 |
facebookreact | misspell escape event type in focus js | Bug | be the correct word escape l72 |
facebookreact | feature proposal classname can be an array of class name string | Duplicate | description the current classname prop on any jsx element take only a string that be suppose to be the class name to add to the corresponding element this prop expect a string which make it very easy to attach a single class name to the element for example problem the limitation I run into while use classname be when I want to attach a couple class to the same element I naturally try to do something like this but unfortunately it didn t work I then realize that it s not possible with the current jsx specification how do I add css class to component the propose solution in the faq link I share above suggest manually attach the string and add a space or use another package call classname usage with reactjs feature proposal I as a react user expect naturally that I could provide multiple class with jsx so I think it can be useful for other developer if the prop classname can take an array of string class and do a simple array join in this case so that developer win t have to join they manually or use the other package classname I believe this could be beneficial for the simple use case and also for a more advanced use case like mine use material ui s makestyle I would appreciate your thought on this suggestion furthermore if discussion conclude that you agree to adopt such change I would be more than happy to contribute it as by chance I be look at the beginner friendly issue for contributor a couple day ago and couldn t find something they re all assign |
facebookreact | update index js | Invalid | summary test plan |
facebookreact | error commit tree do not contain fiber 13258 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 17854 21 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 | error electron fail to install correctly please delete node modules electron and try instal again | Duplicate | when I try to start program use command sudo npx react devtool I get error usr local lib node modules react devtool node modules electron index js 14 throw new error electron fail to install correctly please delete node modules electron and try instal again error electron fail to install correctly please delete node modules electron and try instal again at getelectronpath usr local lib node modules react devtool node modules electron index js 14 11 even I install react devtool localy by sudo npm install g react devtool and after start program by sudo react devtool get the same error any idea how to fix this linux mint 20 cinnamon react devtool version 4 8 2 |
facebookreact | error can not read property length of undefined | Bug | describe what you be do when the bug occur I couldn t reproduce it 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 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 | error commit tree do not contain fiber 329 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 open react devtool profiler 2 select hide component where type equal suspense I retry multiple time and I didn t need this step 3 click on start profile 4 click on a commit bar I think it s a regression 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 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 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 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 can not read property concat of undefined | Bug | describe what you be do when the bug occur 1 open react devtool profiler 2 select hide component where type equal suspense I retry multiple time and I didn t need this step 3 click on reload and start profile 4 click on a commit bar I think it s a regression 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 17827 53 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17717 25 at profilingcache getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 18265 14 at commitrankedautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31980 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 commitrankedautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31963 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 | update readme md | Invalid | fix some common typing error summary test plan |
facebookreact | bug v17 dev mode slowness during effect traversal | Bug | react version 17 0 0 rc2 step to reproduce 1 install in dev mode 2 all event click onblur all of they be too slowly every time you click in a input or something freeze the browser and even more if you open the chrome dev tool or other become more slow |
facebookreact | bug unstable usemutablesource throw error when mutate before subscribe | Bug | react version 0 0 0 experimental 94c0244ba step to reproduce mutate the external source during the initial render before subscribe throw error image 1 navigate to the above code sandbox 2 click on the mutate button final value be render without any error success mode 3 toggle to error mode and click on the mutate button again 4 error throw and the ui be render with the final value when run from vscode note in our actual codebase private we be see this error at different instance e g component get update due to setstate call in uselayouteffect etc the current behavior see error in development build image the expect behavior these error throw by usemutablesource should not showup on the ui and not pass to the error boundary as the component be eventually re render with the late state without any error |
facebookreact | update improve readability | Invalid | add a comment describe what the below line do summary test plan |
facebookreact | remove testutil dependency on event registry | Invalid | this be a test for hacktoberf |
facebookreact | fix prevent phishe attack | Invalid | when a link open a url in a new tab with target blank it be very simple for the open page to change the location of the original page because the javascript variable window opener be not null and thus window opener location can be set by the open page this expose the user to very simple phishing attack summary test plan |
facebookreact | error can not read property iscollapse of undefined | Bug | describe what you be do when the bug occur 1 open react devtool 2 select the component tab 3 get below error please do not remove the text below this line devtool version 4 8 2 fed4ae024 call stack at store getelementatindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19359 35 at store getelementidatindex chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 19376 26 at chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26594 18 at list render chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 21229 18 at li chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11802 76 at ki chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 11793 10 at ck chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 14433 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 list chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 20924 30 at div at autosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 2786 5 at div at div at tree tree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26368 45 at div at div at inspectedelementcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26848 23 at ownerslistcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 25520 23 at settingsmodalcontextcontroller chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 26139 23 at component component chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 30926 50 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 do not contain fiber 265 this be a bug in react devtool | Duplicate | 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 | error commit tree already contain fiber 5823 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 start poll 2 toggle sort direction in application 3 stop poll 4 click flamegraph bar 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 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 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 devtool profiler cause unexpected error | Bug | we notice that our app would behave differently during profiling run and trigger error I m not totally sure what the underlying issue be but I be able to put together a example app to reproduce as far as I can tell it have to do with how devtool be override console warn and console error in that case describenativecomponentframe will call a function component with no args this work fine as the error be catch in describenativecomponentframe but in it look like a useeffect that access those prop be still trigger and it do not expect prop to be undefine I realize that have prop in the dependency array of the useeffect doesn t really make sense but I still think it probably shouldn t error react version 16 13 1 react devtool version 4 8 2 step to reproduce 1 open link to code example below 2 click open in new window from the browser tab 3 observe a simple app with only hello world 3 open the react devtool profiler tab 4 click reload and start profile 5 observe an error uncaught typeerror can not read property foo of undefined link to code example the current behavior wdrry csb app the expect behavior the app should work as it while not profile it should render a hello world |
facebookreact | error commit tree do not contain fiber 5402 this be a bug in react devtool | Bug | describe what you be do when the bug occur 1 click record in profiler 2 click on a link to go to another page gatsbyj 3 click stop record in profiler 4 click on any commit in profiler and profiler crash please do not remove the text below this line devtool version 4 8 2 fed4ae024 component stack commitflamegraphautosizer moz extension 27fbeacf 1df3 cb4e 82f6 1ac8ce92baa3 build main js 31701 48 div div div settingsmodalcontextcontroller moz extension 27fbeacf 1df3 cb4e 82f6 1ac8ce92baa3 build main js 26139 18 profiler profiler moz extension 27fbeacf 1df3 cb4e 82f6 1ac8ce92baa3 build main js 33363 48 errorboundary moz extension 27fbeacf 1df3 cb4e 82f6 1ac8ce92baa3 build main js 27172 33 portaledcontent moz extension 27fbeacf 1df3 cb4e 82f6 1ac8ce92baa3 build main js 27303 27 div div profilercontextcontroller moz extension 27fbeacf 1df3 cb4e 82f6 1ac8ce92baa3 build main js 30463 18 treecontextcontroller moz extension 27fbeacf 1df3 cb4e 82f6 1ac8ce92baa3 build main js 22538 18 settingscontextcontroller moz extension 27fbeacf 1df3 cb4e 82f6 1ac8ce92baa3 build main js 23040 22 modaldialogcontextcontroller moz extension 27fbeacf 1df3 cb4e 82f6 1ac8ce92baa3 build main js 28328 18 devtool devtool moz extension 27fbeacf 1df3 cb4e 82f6 1ac8ce92baa3 build main js 33797 16 |
facebookreact | error child be undefined | Bug | hi I be develop a next js app then I open the dev tool to see the state of some component and the react dev tool give this error after a page refresh all when back to normal I don t know if this be a bug cause by I or be something relate to the dev tool itself so I prefer to report it if this my fault I m very sorry for the trouble please do not remove the text below this line devtool version 4 8 2 fed4ae024 component stack list moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 20924 30 div autosizer moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 2786 19 div div tree tree moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 26368 45 div div inspectedelementcontextcontroller moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 26848 18 ownerslistcontextcontroller moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 25520 18 settingsmodalcontextcontroller moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 26139 18 component component moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 30926 50 errorboundary moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 27172 33 portaledcontent moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 27303 27 div div profilercontextcontroller moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 30463 18 treecontextcontroller moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 22538 18 settingscontextcontroller moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 23040 22 modaldialogcontextcontroller moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 28328 18 devtool devtool moz extension e8970055 c8eb 4403 952e 40ddc0e5c62a build main js 33797 16 |
facebookreact | react build file contain the version of react be use | Question | be there any way to hide react version or be it design to have react version in the build file which be give in the production |
facebookreact | bug | Duplicate | I have use one react component in another one via dependency injection this cause the hook to not work because there be 2 react instance load what can I do react version react 16 13 1 react dom 16 13 1 step to reproduce 1 write 2 component as library once export a mountapp function and the other a getinstance funciton 2 in the main html include both library and write something like 3 in the app2 you have something like this import react usestate from react function app const lala setlala usestate here it fail return whatever export default app import react from react import app from app function getinstance return 4 in the app1 you have import react from react function app app2 const mytablecontainer app2 getinstance return mytablecontainer export default app import react from react import reactdom from react dom import app from app function mountapp rootelement app2 reactdom render rootelement export mountapp the current behavior error send I to which be correct there be two instance load the expect behavior I would like a way to use one app from the other just like any external package |
facebookreact | bug react 17 0 0 rc 1 checkboxe and radio group sometimes fire onchange incorrectly | Bug | react version 17 0 0 rc 1 step to reproduce 1 open the issue seem most easily reproducible in io safari although we be also able to reproduce in firefox on macos 2 quickly tap or click one checkbox or radio follow by another one 3 notice that sometimes the first checkbox be unchecked rather than the second checkbox you tap on become check for radio the first radio stay select rather than switch to the radio you tap on link to code example the current behavior there appear to be some sort of race condition where tap or click on a control or quickly after click on a previous input do not fire onchange on the correct element as far as I can tell onchange be be fire on the second checkbox rather than the first it appear to be a timing issue if you wait long enough between tap the event be fire on the correct element this also appear to only reproduce in react 17 0 0 rc 1 not 17 0 0 rc 0 or react 16 you can verify by change the version in code sandbox the expect behavior the onchange event should fire on the correct element and state should update to check or uncheck the checkbox or radio you tap not some other element |
facebookreact | error maximum call stack size exceed for getcommittree | Bug | describe what you be do when the bug occur 1 click back to go back through the frame follow a profile session I think I get to zero and then click it again and then it errore 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 17661 26 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 at getcommittree chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 17710 30 component stack at commitrankedautosizer chrome extension fmkadmapgofadopljbjfkapdkoienihi build main js 31963 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 window onerror handler not invoke on unhandled exception in react render | Duplicate | the global js error handler window onerror be not invoke when there be an unhandled exception in the react render pipeline when run in optimize production build though due to special handling it be fire during a dev build the documentation do not seem to indicate what the desire behavior be here they mention you need such a handler to catch non react error but do not say anything about what happen to uncaught react error we can work around this by add an error boundary at the root in addition to our current window onerror handling but this seem like unexpected behavior to I react version 16 13 1 step to reproduce 1 set up a global error handler window onerror message alert message 2 throw an exception during react render that be not catch by any error boundary 3 run the production build link to code example the current behavior handler be not fire the expect behavior window onerror handler fire |
facebookreact | bug eslint plugin react hook show error for prop function | Duplicate | eslint plugin react hook 4 1 2 step to reproduce import react usecallback from react export function checkboxfield prop const onchange usecallback e prop onchange e target check prop onchange return the current behavior 4 73 error react hook usecallback have a miss dependency prop either include it or remove the dependency array however prop will change when any prop change so the preferred fix be to destructure the prop object outside of the usecallback call and refer to those specific prop inside usecallback react hook exhaustive dep the expect behavior error shouldn t be trigger since this code have a correct dependency of prop onchange |
facebookreact | error commit tree already contain fiber 13006 this be a bug in react devtool | Bug | describe what you be do when the bug occur I have a large form with multiple checkboxe I be try to see the performance of my value change for the checkboxe when I record my interaction that work but when I click on the performance timeline commit in the extension it fail with the bellow stack 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 eslint plugin react hook can not read property parent of null | Bug | this seem to happen when 1 I take a component as a prop 2 I use that component as a jsx constructor in a hook minimal repro jsx export const foo component react useeffect console log eslint plugin react hook 4 1 1 interestingly this do not cause the error jsx export const foo component react useeffect const component component console log |
facebookreact | bug dependency array show miss dependency error for generic type parameter | Duplicate | react version 16 13 1 step to reproduce 1 create function with generic type parameter 2 use that generic type parameter in usecallback useeffect or usememo example ts export function usedocument path string defaultvalue tdocument undefine undefined tdocument undefined const value setvalue usestate defaultvalue const onnext usecallback snapshot firebasefirestoretype documentsnapshot if snapshot exist setvalue build snapshot datum snapshot i d else setvalue undefine useeffect firestore doc path onsnapshot onnext onnext path return value screenshot 2020 09 10 at 19 57 06 the current behavior show error react hook usecallback have a miss dependency tdocument either include it or remove the dependency array eslintreact hook exhaustive dep the expect behavior should not show any error because it isn t possible to add type to the dependency array type don t exist at runtime |
facebookreact | some question about lane | Question | first of all thank you for reading and patience I ve be study the principle of react lane recently and its implementation be interesting to I but I still don t know what the specific problem it solve this constraint be design before suspense be a thing and it make some sense in that world when all your work be cpu bind there s not much reason to work on task in any order other than by their priority but when you introduce task that be io bind I e suspense you can have a scenario where a high priority io bind task block a low priority cpu bind task from complete from the explanation of acdlite it seem to solve the blocking problem of io operation on low priority task but I couldn t figure out what asynchronous io block js base on the above example before lane where be block and where be the problem solve after lane or do you have a well demo to explain for developer the new technology relate information be too little binary be also very abstract thank you again for your patience |
facebookreact | bug react hook exhaustive dep report a cast typescript type as a dependency | Duplicate | this bug be likely a very close sibling of only this time it be for cast as t I can t understand the line that fix it this specifically diff 26e3db67655052fb708395a89179543br546 r549 but be happy to help write the rest of the pr s test if someone can help with the fix for this one react version 16 13 1 late eslint plugin react hook version 4 1 0 late step to reproduce 1 cast a variable to a type in a hook callback link to code example tsx type foo bar export default function app const callback react usecallback this be the offend line const foo foo as foo return foo return the current behavior react hook react usecallback have a miss dependency foo either include it or remove the dependency array eslintreact hook exhaustive dep the expect behavior no error a type can not be a dependency |
facebookreact | bug rendertostre render srcset instead of srcset | Duplicate | react version 16 12 0 step to reproduce 1 use rendertostre to render element with srcset attribute link to code example the current behavior srcset isn t transform to srcset the expect behavior srcset become srcset |
facebookreact | bug react devtool not show symbol use in state | Bug | react version 16 13 1 step to reproduce 1 create a state with a symbol as a key 2 open react devtool to view the state link to code example the current behavior can not view the symbol in the state the expect behavior symbol should be visible in the state from devtool |
facebookreact | eslint plugin react hook fix compatibility with typescript eslint | Bug | summary in addition to tstypequery dependency node with a tstypereference parent need to be ignore as well without this fix generic type variable will be list as missing dependency example ts export function usefoo foo t boolean return usecallback foo t false this will report the follow issue react hook usecallback have a miss dependency t either include it or remove the dependency array close 19742 test plan I build the eslint plugin react hook bundle and copy it into the node module of my test project which fix the incorrect lint report I don t think there be a good way to add a unit test for this as the issue be typescript specific |
facebookreact | bug 17 0 0 rc 1 lazy be eager in dev mode | Bug | react version 17 0 0 rc 1 step to reproduce 1 create element out of lazy component use they conditionally 2 check if the lazy component be dynamically import link to code example main jsx jsx import react lazy suspense usestate from react import render from react dom const check lazy import check const checked2 lazy import checked2 const unchecked lazy import unchecked const unchecked2 lazy import unchecked2 function app const check setchecke usestate false const checkedelement const uncheckedelement return setchecke e target check toggle I check check checkedelement uncheckedelement check check render document getelementbyid app check jsx jsx export default function return check checked2 jsx jsx export default function return check 2 unchecked jsx jsx export default function return unchecked unchecked2 jsx jsx export default function return unchecked 2 the current behavior the check jsx chunk be import eagerly even though the component isn t immediately render image this doesn t happen in prod mode or with react 16 or with component that be not createelement ed eagerly this affect react router as it use this pattern jsx afaict it doesn t break anything but it be unexpected confuse the expect behavior lazy component that be not render should not be dynamically import |
facebookreact | bug each state hook update cause a seprate re render in asynchronous code | Duplicate | each state hook update cause a seprate re render in asynchronous code const sleep ms new promise resolve settimeout resolve ms export default function app const foo setfoo usestate initial foo const bar setbar usestate initial bar const onaction usecallback async await sleep 0 this be the culprit setfoo update foo setbar update bar console log render foo foo bar bar return run test foo foo bar bar console log render foo initial foo bar initial bar render foo update foo bar initial bar render foo update foo bar update bar react version 16 13 1 step to reproduce 1 follow the codesandbox link 2 press run test button 3 check the console link to code example the current behavior each setstate trigger a separate render in asynchronous code as the console log indicate the expect behavior all setstate should be merge into a single render the same as it happen in synchronous code also this be on stack overflow |
facebookreact | bug | Duplicate | please fix the side bar toggle on react documentation it do not work on my non touch screen pc I think it should be scroll able it work on my touch screen pc reactbug |
facebookreact | bug devtool call arbitrary generator which may be stateful | Bug | js function foo yield 1 yield 2 let gen foo currently if you put gen into state or prop and then open this component in devtool it will consume that generator while try to format it so gen next will give you do true next time you call it this happen here l616 l623 I think that maybe we should treat iterable differently if they return themselves as an iterator since that mean they re likely stateful and it s not ok to iterate over they we detect iterable here devtool terminology be wrong btw it should be iterable rather than iterator l438 l439 I think maybe we could split this into iterable and opaque iterable and make sure none of the codepath attempt to traverse opaque iterable or pass it to something that would consume it e g array from we could detect it base on datum symbol iterator datum that clearly signal the iterable be its own iterator which be the case for generator and therefore it s not ok for devtool to consume it maybe some other heuristic could work but overall the goal be that map and friend be still be iterate over but an arbitrary generator be not |
facebookreact | bug context consumer inside suspense do not receive context update while suspend | Bug | a callback inside a suspend boundary do not receive update when context value change this issue be originally find with react router but can be reproduce with react alone react version 16 13 1 or 17 0 0 rc 0 and at least some early version too step to reproduce the current behavior in the example above click on the about button put the boundary into a suspend state click home update the context value but the callback be not call with this update value therefore the page never navigate back to home please note that receive context home be not log after the home button be press the expect behavior the callback should be call with value home when the value of the context be update please note that the problem do not occur if any of 1 the suspense boundary be never suspend uncomment the first line of about function to verify 2 usecontext be use in place of substitute for 3 the content of switch function be inline within the rather than in a separate component the last of these lead I to suspect that the problem may be relate to in the example be within a switch component but the element inside never change so it s effectively memoize I wonder if this be why it doesn t receive context update |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.