repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
facebookreact
context consumer unexpectedly update each time one of its child component call setstate
Bug
do you want to request a feature or report a bug report a bug what be the current behavior each time a child component of context consumer call setstate its parent context consumer re render if the current behavior be a bug please provide the step to reproduce and i...
facebookreact
regression react 16 automatically mark first item of a mutliple select as check
Bug
do you want to request a feature or report a bug bug regression what be the current behavior in react 16 when create a the first child be automatically get mark as select in react 16 there do not seem to be a way to specify no get select by default what be the ex...
facebookreact
unexpected contextconsumer or contextprovider behavior
Bug
do you want to request a feature or report a bug bug what be the current behavior when use two or more context that create by createcontext in the child tree of cxt2 provider I use cxt1 provider to set a new context of cxt1 I expect only the child consumer get the new cxt1 but the result b...
facebookreact
onchange behaviour on radio button in 15 6 2
Duplicate
do you want to request a feature or report a bug a bug what be the current behavior when assign the onchange listener on a radio button group or its form the event only fire once per radio button if the current behavior be a bug please provide the step to reproduce and if possible...
facebookreact
get start doc be terrible
Question
I just come back to react after about a year or so of not use it and now the getting start doc be pretty much not helpful in the slight all the doc be now be just link to other website without any instruction on how to get a react project run I remember a year ago back in react 15 the doc have a step by step walkth...
facebookreact
react test renderer asynchronous rendering guarantee
Question
do you want to request a feature or report a bug I think this be just a question as I understand it react s new fiber architecture introduce an asynchronous rendering pipeline which allow for well prioritisation of work I m also aware that in version 16 react be still expect to render...
facebookreact
contextconsumer and contextprovider in react test renderer
Bug
do you want to request a feature or report a bug bug what be the current behavior unsupported component type 13 in test renderer this be probably a bug in react invariant be call because react test renderer do not know about the the contextconsumer and contextprovid...
facebookreact
concate react with other resource
Question
hi I want to use many library and framework in my project can i concat react with other framework like angular vue ember
facebookreact
document the use of setstate in componentwillunmount
Question
do you want to request a feature or report a bug feature what be the current behavior excerpt from documentation componentwillunmount be invoke immediately before a component be unmounted and destroy perform any necessary cleanup in this method such as invalidate timer cance...
facebookreact
input not account for by form
Invalid
do you want to request a feature or report a bug a bug what be the current behavior input render by react control or uncontrolle be not account for when submit form for instance html will produce the following form datum foo1 bar1 foo2 bar2 whereas ...
facebookreact
react test renderer totree do not yet know how to handle node with tag 10
Bug
do you want to request a feature or report a bug bug what be the current behavior js renderer create foo totree invariant violation totree do not yet know how to handle node with tag 10 what be the expect behavior return a tree ...
facebookreact
can t edit the wiki
Question
hello I can t edit the wiki to add my website to the list there be edit disabled
facebookreact
access component from child s instance
Question
I be create a small generic state management base on the proxy object now I be write a react helper but I ve find an issue to create the hoc I need access to component from react look at the source code for component it doesn t seem like it can should be a standalone function this librar...
facebookreact
typeerror can not read property state of undefined with create react class
Question
I be currently attempt to create a button which be red with the text yes that when you click on it the button change to a green color with the text confirm before the final stage in which an action take place where I be currently at be define buttoncolor as a state which change on the click of the button...
facebookreact
all control field re render on any setstate call even though their datum have not change
Bug
do you want to request a feature or report a bug report a bug what be the current behavior basically I have many control field in the app that I be currently develop and I normally only want they to re render when their value have change through their onchange event but they re render e...
facebookreact
problem when input type change from email to text
Bug
do you want to request a feature or report a bug bug what be the current behavior when an input field change from email to text an exception typeerror will be throw from setselection screenshot reproduction see here what be the expect behavior it should n...
facebookreact
event handler on fragment
Enhancement
the use case be when an abstraction want to listen to some event bubble up and intercept the event somehow js function abstraction prop return prop onaction prop child perhaps there be some state and context involve too this work fine today as long as you can wrap it in a ...
facebookreact
some event be miss on master for simulatenative
Bug
see my comment in discussion r161108162 it s not really document but people might rely on this need to fix
facebookreact
get minification warning even with defineplugin and uglifyjsplugin
Question
hello I ve scour through other issue and can t figure out why the warning be still around because it feel like I ve do everything here s the setup build script heroku postbuild npm run build prod build webpack webpack progress display error detail bail build dev ...
facebookreact
warn in server renderer if class doesn t extend react component but have a render method
Enhancement
same as but for the server renderer you can look at implementation in and do something very similar in reactpartialrenderer js
facebookreact
state initialization disparity between shallow renderer and reactdom
Bug
do you want to request a feature or report a bug bug what be the current behavior the shallow renderer default a class component s state to empty object if it s not set real renderer don t seem to do this so a component can render successfully in the shallow renderer but fail at run...
facebookreact
react call return expect to find a host parent
Bug
do you want to request a feature or report a bug bug what be the current behavior a specific order of unmounte and remount unstable createreturn s from react call return cause an invariant violation in unmounthostcomponent reproduce the follow sandbox example crash with an ...
facebookreact
how to auto refresh in another tap in react js
Invalid
I m open the login page in two tab in the same browser the login click after another tab also refresh or reload how to do that in react js do anyone help this
facebookreact
click event don t bubble from portal content on mobile safari
Bug
do you want to request a feature or report a bug bug what be the current behavior in mobile safari dom event originate from element render through a portal do not bubble propagate up the react component tree if the current behavior be a bug please provide the step to repro...
facebookreact
react art crash with ssr
Bug
do you want to request a feature or report a bug bug what be the current behavior react art crash when component be render with node what be the expect behavior no crash the issue lie upstream in the art fork and there be a propose fix but the pr need attention so I ...
facebookreact
react dom crash when contain three interpolate value if one be a conditional
Bug
do you want to request a feature or report a bug bug what be the current behavior react dom crash when contain three interpolate value if one be a conditional reproduction 1 change the value of the 2 react crash with notfounderror node be not find from...
facebookreact
shallowrenderer not consider contexttype when render child
Bug
do you want to request a feature or report a bug bug what be the current behavior shallowrenderer not consider contexttype note I be not able to easily include react test renderer in a fiddle so I include a unit test context use in shallow and normal rendering ...
facebookreact
cursor jump when backspace in a number input with shadowdom
Bug
do you want to request a feature or report a bug bug what be the current behavior number input with decimal value in chrome shadowdom do not maintain cursor position as user backspace in the input field super low quality gif sorry this issue appear to be similar to the problem h...
facebookreact
react test renderer do not include key on fragment
Bug
do you want to request a feature or report a bug bug what be the current behavior from the docs key fragment jsx function glossary prop return prop item map item without the key react will fire a key warning item term it...
facebookreact
false positive warning about style mismatch when hydrate server markup in ie11
Bug
do you want to request a feature or report a bug bug not a biggy not sure if ie11 be support for development what be the current behavior ie11 seem to always throw a warning for hydration failure eg warn prop style do not match server text decoration none cli...
facebookreact
select warning fire repeatedly
Bug
do you want to request a feature or report a bug bug what be the current behavior see fiddle the warning relate to the select fire repeatedly gaearon tell I it should dedupe and that this be a bug if the current behavior be a bug please provide the step to reproduce and...
facebookreact
hydrate a component with dangerouslysetinnerhtml and tostre cause a warning and the component to not render
Bug
do you want to request a feature or report a bug bug what be the current behavior when hydrate a pre render component that use dangerouslysetinnerhtml an object with a tostring method we get a warning such as warning do not expect server html to contain the text no...
facebookreact
figure out a well fix for memory leak
Enhancement
see file this as a follow up
facebookreact
fix the misleading error message in production
Bug
see this test case l142 l157 pretty sure the different message in production wasn t intentional but be a consequence of reactcurrentowner current not be set in production for functional component we need to see if it s possible to emit the same useful message both in development in production ...
facebookreact
react createelement type be invalid warning in ie11 when use react fragment
Bug
react show warn in console if I use react fragment warning react createelement type be invalid expect a string for build in component or a class function for composite component but get object
facebookreact
do we still need to stringify attribute before assign they
Enhancement
react manually stringifie all attribute before assign they l169 l179 this appear to be for ie8 9 however it s possible that this be an ie8 only behavior see ie9 can we get rid of value in dompropertyoperation
facebookreact
client server mismatch for text inside of an a button cause the the a button to focus on page load
Bug
do you want to request a feature or report a bug bug what be the current behavior if there be a client server mismatch for text inside of an a or button element it cause it to be automatically focus on page load if the current behavior be a bug please provide the step to reproduce a...
facebookreact
reactdomserver rendertostaticmarkup get stick while try to render portal
Bug
call reactdomserver rendertostaticmarkup elementwithportal get stick in a loop while try to do a static render current behavior the behavior can be see here by un commenting line 58 warn this will make your tab freeze expect behavior it should return with result or throw some kind of error...
facebookreact
react dom ability to access window event in development
Bug
import from issuecomment 345331144 at request of gaearon do you want to request a feature or report a bug bug what be the current behavior in development mode react use invokeguardedcallback to be able to catch error without interrupt the normal break on uncaught exception fea...
facebookreact
sluggish scrolling when render table with large dataset in react
Question
so I m create an application with real time stream datum in a table use react v16 1 1 the number of row show at a time can be rather large 400 row and when those situation occur the scroll behavior on browser desktop mobile really take a hit and stagger when attempt to browse the content have anyb...
facebookreact
disabled button click event propagate in ie11
Bug
do you want to request a feature or report a bug bug what be the current behavior click a disabled button in ie11 fire a mouse event that bubble and be catch by parent click event listener the event be swallow not fire in all other major browser if the current behavior be a bug ple...
facebookreact
question from react reconciliation
Question
with the goal to well understand react reconciliation I create this example just a simple timer component basically which show each second pass class stateful extend react component constructor prop super prop this state timer 0 componentdidmount let that ...
facebookreact
forceupdate recall all ref callback
Question
do you want to request a feature or report a bug bug maybe what be the current behavior on call forceupdate ref callback call again so do forceupdate in ref callback make infinite loop if the current behavior be a bug please provide the step to reproduce and if possible a mi...
facebookreact
question what be your workflow to release a new version
Question
hello if I be totally out of place ask this here I be sorry please close this issue I work at a german newspaper and we be publish some small npm package publically as open source and some for our own purpose privately currently we be not quite sure of our workflow and we want to learn from the good y...
facebookreact
include component stack in invariant
Enhancement
iirc we didn t include it because it be dev only but it s not anymore maybe let s start include it error be often more prominent than warning and it would be great to have this info in both
facebookreact
undo operation on text input throw exception in ie9
Bug
do you want to request a feature or report a bug this be a bug report it look like ie9 be unmounte text node when undo text input operation if the display value of the input be render in another component it raise an exception because ie9 do not allow change to nodevalue on unmounted text nod...
facebookreact
child of option tag flatten when select have value
Bug
do you want to request a feature or report a bug bug what be the current behavior when the follow be render to string use reactdom jsx a b I get html a b when hydrate the above code I get this warning warn text content do not match se...
facebookreact
can t access discuss react
Question
I know this be not relate to react directly but didn t know where to turn to am I the only one who can t access login to discuss reactjs org for quite some time already I get error this page isn t work discuss reactjs org be currently unable to handle this request http error 500 and sometimes when I...
facebookreact
investigate need to feature check cancel and close event
Enhancement
the reactbrowsereventemitter check for browser support of the cancel and close event l136 l138 before attach those listener I m curious why this be necessary do we need it for ie8 I d like to determine if there be ramification to remove these check add comment above those...
facebookreact
add warn when hydrate output from rendertostaticmarkup
Enhancement
do you want to request a feature or report a bug feature what be the current behavior I accidently generate my ssr output use rendertostaticmarkup instead of rendertostre which I then hydrate use hydrate this lead to a warning cause by collapse text node rendertostre wou...
facebookreact
warn if this state be set to this prop referentially
Enhancement
see this example issuecomment 345464797 I think it probably reflect a misunderstanding of how prop and state work and we should detect and warn if we see this
facebookreact
move mousewheel event type detection to browsereventconstant
Enhancement
I think we can move the wheel event support check in browsereventemitter l126 l135 into browsereventconstant that run the check once which be nice for wheel and scroll event which eventually need to be attach locally file this for myself as a part of but this could happen on master right no...
facebookreact
control input don t work in safari
Duplicate
I originally think this issue be just around use but upon dig far it appear that safari just plain doesn t like control input whatever you type will appear in that input you can see this in action here now I will say that we work around this for the time be by leverage onkeypress instead of o...
facebookreact
add validation to the react child helper
Enhancement
currently helper like react child toarray will not validate the pass element so thing like miss key go unnoticed see the discussion in I delete the original tweet for more context
facebookreact
inline style with decimal number
Bug
do you want to request a feature or report a bug bug what be the current behavior if the style prop be pass a decimal number react convert the dot in a comma result in an invalid css value I suspect this might be due to my locale be different from english but the behavior should ...
facebookreact
warn when component have proptype rather than proptype
Enhancement
see issuecomment 343402728 feel like an easy mistake to make and easy for we to detect
facebookreact
unnecessary re render under bail out component when a legacy context provider and a deep child be update in the same batch
null
this issue be go to start off mostly theoretical as I m still work to make a minimal repro case we have a scenario where one component be have shouldcomponentupdate return false to bail out but a child component be still have its render method call avoid many detail this be roughly what we have ...
facebookreact
setstate callback call before component state be update in react shallow renderer
Bug
do you want to request a feature or report a bug report a bug what be the current behavior when I call setstate with a callback in a test use react shallow renderer via enzyme the callback get call and this state be still the old state edit this seem limited to componentwillmou...
facebookreact
remove support for cloneelement getmountedinstance in shallow renderer
Bug
there be a test add as part of shallow renderer rewrite 9426 in that I don t understand it test that you can take an instance call cloneelement on it and pass the result to the shallow renderer if we be do this internally this seem like a misunderstanding of how the api should work and we nee...
facebookreact
a function that be also an iterable be treat inconsistently
Bug
do you want to request a feature or report a bug bug I think what be the current behavior here s a codesandbox or just plop this in an index html html what be the expect behavior I expect that thing will render the same regardless of whether they...
facebookreact
show a well warning when accidentally return from constructor
Enhancement
base on a conversation with vjeux I write js constructor prop return something false instead of js constructor prop super prop this state something false and the error be super confusing it tell I t...
facebookreact
ondrop break onselect event
Bug
do you want to request a feature or report a bug bug what be the current behavior after an ondrop event have fire inside an editable element input textarea contenteditable the onselect event on that element will no long fire when change selection use the keyboard as ...
facebookreact
invariant that don t have error code yet be miss in production build
Bug
see my comment in issuecomment 338974574 I verify introduce this regression
facebookreact
react spread operator be still in the official documentation
Question
bug in documentation what be the current behavior react s spread operator be remove in react 16 but it be still in the documentation spread attribute what be the expect behavior a word of caution should be include that this do not include react 16 maybe also add other way of spread prop ...
facebookreact
branch on tag before do type checking
Enhancement
follow up for r145577198 this be neat but it also mean that we re sometimes compare string to number symbol that could potentially deopt the type hint in this function it might actually be well to check the child tag to ensure that it be a hostcomponent or fragment and compare the type in separate branch ...
facebookreact
react art on npm be miss the lib folder
Bug
it seem like those be intend to be public apis but they re not publish on npm because lib folder be not in the file whitelist
facebookreact
shallow test renderer call shouldcomponentupdate on forceupdate
Bug
there be no extra guard or clause in enqueueforceupdate when call render which mean the render always call shouldcomponentupdate which can block even force re render during test this for example break shallow rendering in enzyme when use mobx and observable minimal test case javascr...
facebookreact
investigate the nest update overflow cause by coalesce
Bug
we have an internal issue t22633912 which manifest itself as an infinite nest update loop trigger our invariant trueadm investigate that it be introduce in and then fix in we don t however have any fail test relate to that even though we remove that coalesce implementation I feel like we need t...
facebookreact
flow ify reactpartialrenderer js
Enhancement
it doesn t have a flow annotation we should start flow ifye it to avoid bug like iamdustan wanna take it
facebookreact
react 16 mismatch html warning log when hydrate portal render to document head
Question
do you want to request a feature or report a bug bug what be the current behavior render a portal to document head on the server cause react to log a warning on unexpected markup while hydrate server markup currently this happen when use react head if the current behavior ...
facebookreact
shallow renderer subsequent setstate call inside componentwillmount discard the previous one
Bug
what be the current behavior if componentwillmount have multiple setstate call only the last one work in shallow renderer if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of the problem here dom renderer correctly render hello ...
facebookreact
autofocus doesn t work with ssr in react 16
Bug
work on the client but not when hydrated that s because this use to be implement in js as a special case but hydrateinstance doesn t cause a commit effect to be schedule that can call focus like finalizechildren do the question here be should we even bother implement this in js anymore or...
facebookreact
typeerror can not read property create of undefined when use react test renderer
Question
do you want to request a feature or report a bug bug what be the current behavior try to run a simple jest snapshot test but fail on react test renderer if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of the problem via or similar ...
facebookreact
onchange get execute only once react 15 6 1
Duplicate
do you want to request a feature or report a bug bug what be the current behavior react 15 6 1 onchange get fire only once reproduce bug link if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of the problem via or similar te...
facebookreact
onmouseenter trigger on child in react 16
Bug
hi I m have an issue with onmouseenter be trigger on child of a component it only occur with react 16 I ve create a codepen that show the issue simplify structure be as below ...
facebookreact
update prop in commitupdate
Question
give an instance which contain some object attempt to update that object in commitupdate result in an error since the object be freeze what be the correct approach to set the new prop to an instance in commitupdate I see in the art renderer for example it set the property on the instance directly ...
facebookreact
deduplicate the can only update a mounted or mount component warning
Enhancement
note anushreesubramani be work on this please don t send prs if you aren t her similar to anushreesubramani wanna take this one as well it would need to deduplicate base on owner stack info similar to how work
facebookreact
dom test fixture add caveat for ie9 range input and other unsupported thing
Enhancement
it can be confusing to recall that the range input type be not support in ie9 invalidate a few of our test case for example this test case verifie that change a range slider with arrow key work as expect however it look like a standard input in ie9 if we plan to make these test fixture more public I ...
facebookreact
check for raf polyfill lazily
Enhancement
case like issuecomment 334475000 can be pretty confusing we should probably move the warning to happen during first reactdom render rather than immediately
facebookreact
asynchronous componentwillunmount in react 16
Question
in react 15 componentwillunmount call first before the rendering of next component in dom in the current version v16 componentwillunmount be call after the mounting of next component it create an issue with my exist code since I reuse the same component after the history change so it invo...
facebookreact
ssr reactdom client and server handling newline differently cause mismatch warning
Bug
bug report I notice a warning text content do not match warning on certain page of my isomorphic react app use react and reactdom 16 0 0 after boil it down to a simple test case it seem that different kind of newline be handle differently some fail to match if I do let test foo nbar ...
facebookreact
make undefined ref message well
Enhancement
as report in it could ve be clear
facebookreact
allow suppress error boundary log from intentionally throw catch error
Enhancement
this be a repost of by erikra do you want to request a feature or report a bug somewhere in between what be the current behavior when I m run test on my library there be some behavior that I want to test do throw an error these currently result i...
facebookreact
deduplicate the warning about function not be valid child
Enhancement
same as but for this one
facebookreact
even though I be use the webpack uglifyjs plugin for minification reactdevtool be tell I that I have unminified code that be not production quality
Question
do you want to request a feature or report a bug bug what be the current behavior reactdevtool be show the red icon for my deploy application even though I be use the webpack uglifyjs plugin and the webpack defineplugin with process env node env json stringify production if the curre...
facebookreact
deduplicate render method should be pure warning
Enhancement
note the task be already claim just see this in a fiddle that have a nest update bug it would be nice to just dedupe they in the first place instead of call console error a thousand time note the task be already claim
facebookreact
can not read namespaceuri of null error when render into a comment
Bug
see internal task 22198152
facebookreact
relationship between render updatecontainer and requestanimationframe
Question
this be highly related to when I call reactdom render or more accurately updatecontainer from within a renderer it seem the callback param be call somewhere in between update and render specifically if the callback be itself be a call to updatecontainer e g a recursive approach ...
facebookreact
svg image onload event not get dispatch on ie11
Bug
svg image element be not get onload event dispatch on ie11 example test with react 15 1 and 16 0
facebookreact
deprecate and remove testutil mockcomponent
Enhancement
it be a jest ism that shouldn t be in our open source package people use jest can implement a similar pattern directly
facebookreact
fiber can not render to documentfragment shadowroot
Bug
do you want to request a feature or report a bug bug what be the current behavior react 15 x be able to render within a documentfragment shadowroot not possible with fiber anymore demo js import react component from react import render from react dom ...
facebookreact
reset of select ignore defaultvalue
Bug
do you want to request a feature or report a bug I report a bug what be the current behavior when reset a form which contain a select with a defaultvalue the select option become the first option element in the list not the one with value defaultvalue if the current behavior be a bug ...
facebookreact
react 16 fail to rehydrate noscript
Bug
do you want to request a feature or report a bug bug what be the current behavior as of react 16 s be not properly rehydrate equivalent code work in react 15 if the current behavior be a bug please provide the step to reproduce and if possible a minimal demo of the problem via ...
facebookreact
doesn t work
Bug
see the original report in issuecomment 333242375 the problem be that svg be case sensitive and so na vely set tabindex and rely on insensitivity win t work with it the good news be it seem like tabindex be the only valid svg attribute with this problem we just miss it because it apply both...
facebookreact
how to prevent react from modify element manipulate by external code
Question
the new york times be rebuild its website use react currently it s an isomorphic app that have both server and client side render our question what s the good way to include a non react interactive graphic map chart and other visualization create by custom code within a fully react page ...
facebookreact
umd production build define global variable
Bug
do you want to request a feature or report a bug bug what be the current behavior the umd production build link in the announcement define global variable y and nb react dom if the current behavior be a bug please provide the step to reproduce and if possible a mi...
facebookreact
in react 16 onmouseenter be trigger an extra time when enter a new child
Bug
version description onmouseenter onmouseenter demo js import react component from react class demo extend component constructor prop super prop this enter this enter bind this th...
facebookreact
website side nav sometimes show an incorrect current highlight
Bug
bug the active navbar item be incorrect sometimes reproduction step navigate to observe that synthetic event be highlight expect behavior quick start handle event should be highlight
facebookreact
react 16 do not lowercase html attribute in generate html
null
do you want to request a feature or report a bug bug what be the current behavior reactdomserver generate camelcase markup for the cellspace and cellpadde attribute here s an example pen I believe these attribute be canonically lowercase if I lowercase the attri...
facebookreact
warn stateless function component can not be give ref attempt to access this ref will fail null after update to react 16
Bug
do you want to request a feature or report a bug bug what be the current behavior page load throw console error warn stateless function component can not be give ref attempt to access this ref will fail null chrome console 6vm598 27 warning stateless function component ...