repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
facebookreact
component that render non empty s can t re render
Duplicate
do you want to request a feature or report a bug bug from a react user s perspective why do this matter this matter in the context of server side rendering I want to have the structure render return where my page template contain then js disabled user will se...
facebookreact
native map detection in reactcomponenttreehook fail with core js
Bug
do you want to request a feature or report a bug bug what be the current behavior use polyfille es6 map on browser without native map support 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 isnati...
facebookreact
use react 15 under edge dangerouslysetinnerhtml doesn t work on any svg tag
Duplicate
hi everyone this issue be follow 6950 the fix work on ie11 unfortunately it doesn t under edge it seem that edge be implement innerhtml property on svg tag but in an inefficient way use it append svg text in the dom tree as it can be see use the inspector but edge doesn t render anything unless ...
facebookreact
input element setselectionrange after backspace do not work in ie10
Bug
do you want to request a feature or report a bug report a bug what be the current behavior 1 open this demo in ie10 2 type any five character text 3 caret should be at position 2 I e 12 345 because it be force there after every change with setselectionrange 4 use arro...
facebookreact
bug didputlistener try to finddomnode on unmounted component
Bug
I believe this be a bug and potentially related to but the specific detail be different enough that I want to file a separate issue feel free to close if it s the same root cause I have a repro here clickme be a component that run causeerror on click causeerror first render component of type a and...
facebookreact
freeze class and defaultprop in dev mode
Enhancement
to make compiler optimization around class and inline defaultprop we need to know that they don t get mutate this escape analysis can be difficult to do in a js compiler so we should start enforce it so we don t have to rely on escape analysis js const type element type if typeof type function ...
facebookreact
injectenvironment call twice react test renderer and react dom
Bug
try to test a very simple react component use material ui through jest and react test renderer I m stuck because reactcompositecomponent injectenvironment can only be call once it look like react test renderer call injectenvironment but so do react dom which be in my actual application ...
facebookreact
babel node reactcomponenttreedevtool js cause reactdomserver rendertostre to fail
Bug
while follow a server side react tutorial I encounter a runtime error cause by reactcomponenttreedevtool specifically the purgedeep function seem to be problematic under certain condition react lib reactcomponenttreedevtool js line 47 user code stack trace screen shoot 2016 07 24 at 3 41 00 pm ...
facebookreact
make createelement undefined warn more descriptive
Enhancement
update claim by jin this be what I see when I mistype an import this be not very useful when type be undefined we should provide a well message in 95 of case it be cause by an invalid import we should create a page explain common case how this could happen e g mismatch default name...
facebookreact
in nw js app the file type onchange event doesn t fire
Bug
I use react in my node webkit application I just update the react and react dom from 0 14 3 to 15 2 0 I haven t change my code but the onchange event not fire now and there be no error console log any help will be appreciate
facebookreact
checkbox attribute unnecessarily remove from dom on every render
Bug
do you want to request a feature or report a bug bug what be the current behavior render a list of control checkboxe cause the reconciler to unnecessarily update add or remove the check attribute on every render regardless of whether the value have change I have a table with 300 5...
facebookreact
input onchange not trigger every time in ie11 if e preventdefault use
Bug
input onchange not trigger every time if e preventdefault be call in onchange handler occur when type fast some character be lose react 5 0 2 ie11
facebookreact
oninput be not fire on contenteditable div in ie11
Bug
when use oninput event on contenteditable div the event be not be fire on ie11 it do work on chrome 51 0 2704 103 64 bit and microsoft edge it also reproduce on react 0 14 so it doesn t seem to be a regression see it be reproduce here maybe relate to 4051 jquense
facebookreact
miss react element for debugid warning when test component with jest
Bug
do you want to request a feature or report a bug report a bug what be the current behavior when test component warn reactcomponenttreedevtool miss react element for debugid 1 when build stack be show when call testutil renderintodocument if the current behavior be a bug pleas...
facebookreact
onchange not fire properly in react 15 2 0 ie11 when paste text into textarea
Bug
hello on ie11 react 15 2 0 when copy paste datum from keyboard to a textarea onchange not fire this work fine in chrome and ff I ve include a test link a log msg should happen when you copy paste datum into textarea thank
facebookreact
bug miss react element for debugid trigger by reactdomserver rendertostaticmarkup
Duplicate
as of react v15 2 0 the provide fiddle be throw the missing react element for debugid warning which have be describe as an internal I e not user face react warn this warning be not present in react v15 1 0 I make no claim that this be a sane usage pattern only that it exist in real world comp...
facebookreact
miss react element for debugid warning when trigger a render in componentwillmount
Bug
do you want to request a feature or report a bug bug what be the current behavior as report by adamryvola in issuecomment 230349514 react be display a warning warn reactcomponenttreedevtool miss react element for debugid 2 when build stack when another component be render in compon...
facebookreact
get a warning use reactcsstransitiongroup in react v15 2 0
Bug
bug what be the current behavior when use reactcsstransitiongroup in react v15 2 0 it warn I about an unknown prop pass to the dom element create by this component span warn unknown prop transitionappeartimeout on tag remove this prop from the element for detail see in span ...
facebookreact
group warning for unknown dom property
Enhancement
I just run react bootstrap doc page on master and see a ton of warning from 6800 jun 30 2016 01 55 that page be really long so maybe it s an edge case but at the very least I think we should group prop from the same element into a single warning for example these warning could become one
facebookreact
deprecate call proptype validator in production
Enhancement
we want to strip the code that implement proptype validation function in production this doesn t mean react proptype win t exist just that the function will throw in production every time I do an initial attempt at this in 6401 but it s too much of a change because people might be call proptype in pr...
facebookreact
can not read property getnativenode of null reactreconciler
Bug
hello everyone I have a problem after update react from v0 14 8 to the current late v15 1 0 actually I can not even tell what exactly cause this problem on some page of my spa everything work just fine but during one specific action in my app this error happen this problem appear after react and som...
facebookreact
value of input range incorrectly round after mount step attribute ommite
Bug
do you want to request a feature or report a bug bug what be the current behavior react at the beginning round input type range value to 0 or 1 and then look at step parameter which be 0 1 for example the result be incorrect value of input after component mount when I put value attri...
facebookreact
can not access this or prop
Question
do you want to request a feature or report a bug seem like a bug not sure what be the current behavior unable to access prop if the function be define outside if the current behavior be a bug please provide the step to reproduce what be the expect behavior expect behavior be ...
facebookreact
reactperf throw production be not define error
Invalid
I m use webpack to build my react project react 0 14 6 and somehow it be throw production be not define referenceerror in reactperf because in my webpack setting I be inject the node env which be work fine before any advice on that screen shoot 2016 06 13 at 11 11 05 am scr...
facebookreact
how to handle proptype undefine in production
Invalid
I be aware that note that for performance reason proptype be only check in development mode prop validation in development mode we have model collection of proptype e g js import proptype from react import layout from component layout export const schema di...
facebookreact
onchange randomly miss key on ie if type very quickly
Bug
I have a simple search bar control text input with autocomplete when I type text very quickly I do get onkeydown event but every now and then the correspond onchange event go miss for example if I type foobar the input field may end up show foobr this happen only on ie test with ie11 on wi...
facebookreact
onchange not fire when use keyboard
Bug
hello on firefox v31 and 40 at least when change value from keyboard onchange not fire actually it fire only on blur react 15 1 0 thank
facebookreact
documentation pass key to react createelement
Question
there be nothing in the documentation that indicate how to pass key s to react createelement also there be no explanation about prop child either especially when use react cloneelement should the prop child be copy or new child pass see also this so question
facebookreact
react addon perf doesn t work in ie11
null
I see error object doesn t support property or method table seem ie doesn t support console table
facebookreact
should react warn when control component have duplicate value
Enhancement
consider the following example live at with react 15 0 1 js const myselect prop banana broccoli orange tomato class app extend react component constructor super this state this onselectchange this onselectchange bind this onselectchange e ...
facebookreact
bug problem of use react addon perf
Bug
when try to use in google chrome it be find that after perf start error message display warn there be an internal error in the react performance measurement code do not expect ctor timer to start while componentdidmount timer be still in progress for another instance warn there be an internal error in t...
facebookreact
change event fire too many time when input chinese character in ie 9
Bug
like 3926 but in ie9
facebookreact
form disappear without call onsubmit
Question
do you want to request a feature or report a bug report a bug what be the current behavior when a form element disappear as the result of a state change e g trigger by an onclick handler on the submit button its onsubmit handler be not call in html even if a form element be remove from...
facebookreact
provide an opt in way to easily manage this in event handler
null
there s no shortage of place in react where a dev will write something like onclick this setbookssubject or alternatively onclick this setbookssubject bind this it s not ideal to re create these function on each render so the alternative would be some form of auto bind in the c...
facebookreact
perf printwaste doesn t work when component conditionally return null
Duplicate
after upgrade to react 15 0 1 or 15 1 0 I m not able to use printwaste from perf tool react 15 0 1 throw error reactdefaultperfanalysis js 177 uncaught typeerror can not read property foreach of undefined react 15 1 0 warning js 44 warning there be an internal error in the react performance measur...
facebookreact
fix issue introduce by createelement warning
Bug
this build on top of 6268 I fix a few style nit and indirection in it and later I realize it introduce a bug in cloneelement as I be trace this bug I find that it already exist in createelement in 15 x 6879 so I fix the bug for both case add more test and shuffle they around to sit in t...
facebookreact
react createelement type key undefined be handle incorrectly
Bug
I believe 5744 introduce a behavioral difference between development and production version of react we release it as a part of 15 0 and this difference still exist the production behavior hasn t change however the development behavior diverge after this change js var el react createelement div ...
facebookreact
perf print method not work in 15 1 0 can not read property foreach of undefined
Bug
after upgrade to 15 1 0 I m have trouble use the react perf tool I ve do the follow add to one of my file import perf from react addon perf window perf perf I then launch my app in chrome open the dev tool and run this in the console perf start perf stop perf printwaste ...
facebookreact
react devtool 15 1 0 ctor timer error
Bug
bug warning display in console about internal error of react performance measurement code js import react from react import render from react dom import perf from react addon perf import browserhistory router from react router import route from route import persist fro...
facebookreact
15 0 2 current starter kit example basic commonj not work
Bug
do you want to request a feature or report a bug bug what be the current behavior run npm install and then npm start in the example basic commonj directory of react 15 0 2 as find on result in the follow error syntaxerror user robert download react 15 0 2 example basic commonj index ...
facebookreact
warning be change a uncontrolled input of type radio to be control
Bug
I have this code and when I click on radio it give I warn warn test be change a uncontrolled input of type radio to be control input element should not switch from uncontrolled to control or vice versa decide between use a control or uncontrolled input element for the lifetime of the comp...
facebookreact
how to force react to reorder key child instead of destroy recreate
Question
I m use react to build an application for view multiple webcast at one time I have a videogrid component that have an arbitrary number of videocell component as child each videocell have a unique key as describe here dynamic child I m try to implement the ability to swap the position of webcast...
facebookreact
how do I test the authentication flow in my app
Question
hi I have an app implement auth use react router redux sagas jwt tldr how do I approach test this authentication flow basically I be use react router s onenter method to check if the user be authenticate to allow access to it the function check this info from the app state when credential be s...
facebookreact
change how reactperf printwaste and reactperf printoperation work
Enhancement
6046 be a rewrite of reactperf that aim to provide the exist feature of reactperf in a more testable and future proof way however there be a few thing that be out of scope of 6046 but be important to fix later after it be ship today printoperation print information about the dom native event that su...
facebookreact
control number input doesn t handle e and properly
Bug
a control number input without a corresponding setstate function still allow e and to be enter and number can be inputte afterwards I could be incorrect but I don t believe this be the desire behavior here s a jsfiddle demonstrate the issue
facebookreact
I get react v15 update error
Question
I run this command npm install save screenshot from 2016 04 17 14 11 38
facebookreact
child don t re render when parent component be optimise
Question
I be see something that look like a bug and have write a simple test case for it please refer to this webpackbin as it contain the test scenario
facebookreact
testutil findallinrenderedtree be not iterate through all component since react 15
Bug
most of our test rely on this I go through a debugger and step through the callback function only the component foo and bar be capture any sub component under be not come in the callback var component reactdom render container testutil findallinrenderedtree component child consol...
facebookreact
react 15 break server render check sum
Duplicate
I m develop an universal app with react and after update to v15 0 1 I start get this error warning react attempt to reuse markup in a container but the checksum be invalid this generally mean that you be use server rendering and the markup generate on the server be not what the client be expect react inj...
facebookreact
type in middle of control text field jump to end
Bug
repro go to scroll to todo example type anything into the input field click in the middle of the text and type another character notice the cursor jump to the end of the text field
facebookreact
warn when change the type and value of an input field
Bug
in my render method I have something like if I first render this input as a number e g dynamictypevalue number dynamicvalue 5 but then change the input to a string dynamictypevalue string dynamicvalue 01 01 2016 I get a warning that the new value be not a valid number...
facebookreact
setstate in componentwillmount cause typeerror when render with rendertostre and precede by a component that render with rendertostre
Bug
call setstate in componentwillmount of a component cause the error typeerror can not read property currentelement of null at reactcompositecomponentmixin updaterenderedcomponent when render server side with reactdomserver rendertostre and precede by a component that render content ...
facebookreact
callback in setstate second parameter can not get mouse click s event handler
Question
hi all I use setstate in a click function and I pass a callback function to second parameter please look at in the callback function I can not get event handler be it reasonable I try to pass event handler into callback like but the state be wrong how can I get event handler and right state in s...
facebookreact
transitiongroup
Question
var reacttransitiongroup react addon transitiongroup var content react createclass componentwillappear function console log componentwillappear componentdidappear function console log componentdidappear componentwillenter function ...
facebookreact
dead code eliminate react proptype checker in production
Enhancement
I be look if we can shave off some kilobyte here and there and notice that we ship proptype code that we never actually run in production I try replace it with a noop function with identical api and it seem to save 933 byte off the gzippe react min js and 1035 byte off the gzippe react with addon min js ...
facebookreact
deprecate return value of reactdom render
Enhancement
this be a tracking issue because we re not ready to deprecate the return value of reactdom render yet this will likely be a long term objective not immediate but we should have an issue to reference as we start to get the ball roll reasoning we be work towards a new incremental reconciler which m...
facebookreact
support question serverside render only why re render on client
Question
alright kind of a react newb but react be not follow the principle of least surprise with this one so I have to ask our team only really want serverside render for a particular project we don t need to do much special on the client however as far as I have learn you need to have a reference to the same re...
facebookreact
testutil renderintodocument and lifecycle
Question
hi everybody there something I don t understand in the testutil library I want to test a react component with testutil the lifecycle of my component be getinitialstate componentwillmount render componentdidmount componentwillreceiveprop shouldcomponentupdate componentwillupdate render...
facebookreact
uncaught invariant violation must be mount to trap event when replace an image with a link to an image
Bug
I m have a hard time narrow a repro down for this and there seem to be a lot of require move part so I ll try to give as much information as I can relevant snippet of package json react 15 0 0 rc 2 repro w 0 14 7 as well react dom 15 0 0 rc 2 react redux 4 0 6 ...
facebookreact
input type email as control component do not control white space
Bug
a control input file of type email behave differently from a control field of type text if you manage a control input field of type email the actual state and the render dom be different if the user digit space e g with an input element like this if you try to digit letter or space you will always...
facebookreact
make respondereventplugin cross platform
Enhancement
dieppe work on make respondereventplugin work with dom in 4303 but this be put on hold after 6338 bring all the relevant file into react repo we can start think about it again I m create this issue to keep track of whether we want this to happen or not and what be our plan regard this if there be a...
facebookreact
warn when use overlap style e g border and borderbottom
Bug
this good first bug be take by yongpilmoon don t work on it unless that s you this have be discuss a few time before but I don t think there be any conclusion and prs intend to solve the issue be not merge for various reason I would like to close those prs as outdate and reboot the discussion a...
facebookreact
nest property issue
Question
hello I have the code javascript class component extend react component render this prop nest prop this prop parse nest prop return component componentdidmount console log this prop nest prop component defaultprop nest prop default ...
facebookreact
firefox issue expect flush transaction s store dirty component length to match dirty component array length
Bug
I be able to come up with a repro for this bug that do not rely on weird interaction between js and flash though it only happen in firefox a summary of the repro be that if you have a react component that be update itself via a setinterval loop and an input that be focus and you zoom in out to trigger a resize ...
facebookreact
disabled input button should not fire onclick in ie11
Bug
the follow button should not fire onclick but it do so in ie11 chrome and mozilla be ok use the normal dom without react be ok too see the plunker example that reproduce the issue open it with ie
facebookreact
reactperf printdom throw uncaught typeerror convert circular structure to json
Bug
identical app I call printdom after the app be load react 0 14 7 react 15 0 rc1 rc2 and master we should fix this before release 15 0
facebookreact
how to use life cycle hook for animation use react low level api
Question
I need to work around a bit of animation in react for that I be use the low level api of react I e react transition group this I want to use because it provide I the life cycle hook like componentwillenter callback componentwillleave callback but I be strike in the problem how to use those life cycle hook h...
facebookreact
v15 rc1 seem to skip some text node in ie
Bug
the follow var hello react createclass render function return hellot result in only hello be write in ie11 jsfiddle I realize there have be some change to the way text node work in v15 but before we update our code to use I want to check if this be the intend ...
facebookreact
select option empty value regression in 15 0 0 rc 1
Bug
react 0 14 7 empty emit empty string on change react 15 0 0 rc 1 empty emit string with value empty on change this be because react 15 0 0 rc 1 cut off value from option tag
facebookreact
rendertostre fail to terminate comment node
Bug
run this js let html rendertostre foo get this foo not sure if this be a bug but I think data reactid and friend be go in v15 no also when test v15 with an old project use v0 14 7 which have a much complex scenario rendertostre return follow cause a blank page ...
facebookreact
pre binding be problematic bind cause performance issue
Question
per this article I post this in stackoverflow I feel like I m in a catch 22 if I use bind on event handler or the pattern there could be performance issue with re render if I use the method describe in the article above then I can t pass argument to a single dry function I have to cre...
facebookreact
title tab value render use react
Question
hello react be their a way to show render element s value in title like we have var title span my title span div title title my value div output should be like this div title my title my value div
facebookreact
be there any way to update react child component
Question
parent element class reactwizard extend component constructor prop super prop this state childitem step 0 styleclass null category null datum this divstyle this divstyle bind this this changestep this changes...
facebookreact
componen render but not call lifecycle function
Question
I have a project that create a html layout base on json file on the 4th and 3th step some component be not call lifecycle function for example component code component code basenode that be empty class rendering result render result console output console output mini...
facebookreact
disable viewportmetric unless mouseevent lack support for pagex pagey
Enhancement
this rebase 2271 by syranide which fix 1300 the only change in the rebase be that the file move I haven t change the logic spicyj clean up the callsite internally so this should be good
facebookreact
cloneelement vs createelement
Question
can anyone let I know if use cloneelement on exist element instance or createelement on react element class which one be well in term of performance sometimes clone something be fast than create new instance please let I know thank
facebookreact
how I can test a swipe with testutil
Question
anyone of you know how I can simulate a swipe use testutil event simulation
facebookreact
framework
Question
do facebook recommend a good backend to go with react maybe something that already have login page feature build in
facebookreact
reactjs setstate bug my fault
Question
hello guy I make an exemple here to see exactly what I m talk about I use context for the storeinput function because in my app it pass through more than one component sorry for the short message but I don t have the good write english skill and it s more easy for I to show you if you don t understand...
facebookreact
why this prop child can not re render
Question
for example js class parent extend react component componentdidmount settimeout this forceupdate 1000 render return this prop child class child extend react component render return this prop random class app extend react component r...
facebookreact
add reactinstrumentation
Enhancement
summary this add reactinstrumentation for the isomorphic package that use the same approach as reactdominstrumentation currently it be gate behind dev but we will likely change this later to a runtime flag determine by whether there be any active listener the first few event we add here should...
facebookreact
dynamic proptype
Question
hi I be try to construct a mixin which take a dev define component specification and construct its prop type default accordingly I be try to do something like this var generateproptype function customdata do the process here var mymixin proptype generateproptype this ge...
facebookreact
performance for unmounte mount a component vs hide it
Question
be there a preferred method or performance benefit to hide a node in the dom via css vs mount and unmounte it for example I have a render function with the follow code javascript const map this context let selectedfeature let content infer the select feature from the info window if map in...
facebookreact
reactdom not define in react 0 14 7
Question
react render work fine but not reactdom render name class1webpack version 1 0 0 description main index js script test echo error no test specify exit 1 build webpack dev webpack dev server devtool eval progress ...
facebookreact
programmatically access warning error after render
Question
let s say I have a component which have proptype static proptype iserror react proptype bool isrequire I want to ensure that this contract be not break so I have a test it should require an iserror prop expect function let result renderrea...
facebookreact
follow npm get start guide incomplete and result in error
Question
I decide to try out react today and begin follow the getting start guide for use react from npm use react from npm unfortunately I be unable to get the example up and run the first problem I encounter be the miss html file which I scavenge from low in the page and adapt however once I load up the bun...
facebookreact
add new reactperf
Enhancement
this be a work in progress on implement new reactperf as discuss in 6015 per sebmarkbage s request I decide to focus on remove dependency on internal method name datum will be explicitly pass to the perf tool from react method and we will attempt to not rely on the execution order rather than refactor t...
facebookreact
async route cause server side checksum invalid error
Question
note this may be an issue for react router instead if so please inform I and I will notify they I m use webpack react router and react I get this error while use react router with async route and server side render shell bundle js 1 warning react attempt to reuse markup in a container bu...
facebookreact
use mixed array with string have warn
Question
js var hello react createclass render function return this prop name react render be work document body have warn each child in an array should have a unique key prop check the render method of hello see for more information jsfiddle
facebookreact
render during reconciliation cause npe
Bug
I have a view with a control select on it when the onchange event fire the result function actually change the view remove the select then I get this error uncaught typeerror can not set property pendingupdate of null reproduce here react 0 14 7 I also notice I don t get the same error in a...
facebookreact
port reactperf to the new devtool api
Enhancement
there be a few concern that I hear about reactperf in the order of importance 1 it be gate by dev but react native want to have a way to enable it in production build and pass the accumulate info into systrace 2 it be often break by refactore 3 it appear generic but depend on specific mo...
facebookreact
remove event listener use with bind in es6 syntax
Question
I m try to communicate with an iframe with the postmessage api but I have an issue with the eventlistener management in es6 it be state in the doc that with react every method be automatically bind to its component instance except when use es6 class syntax the problem be that this handler bind this ...
facebookreact
console show error uncaught invariant violation
Question
I be make an app base on this boilerplate ref gist the app be build fine but my console show this error uncaught invariant violation element type be invalid expect a string for build in component or a class function for composite component but get undefined
facebookreact
how can I visit the official site that writing by other language default english
Question
visit the link get start it s english page how to read this page that write by other language
facebookreact
update not queue properly when use unstable rendersubtreeintocontainer
Bug
the cursor should not jump to the end of the text field when edit text it s unstable so it probably doesn t need to be fix before the v15 milestone but we should get it fix at some point cc jquense
facebookreact
componentdidmount be call before the visual be render
Question
I be try to get visual attribute width to be precise of a component once it s render and css be apply I ve be try with componentdidmount but width be still 0 I be not sure what I m do wrong output rendering component do mount the ribbon s width be 0 and after that if I click on my header...
facebookreact
be not define
Question
I have a class that be try to do a get request in the componentdidmount function however if I initially load a page with this component in it I get the follow error be not define I follow the example from xxx I just change it over to es6 perhaps I be use something improperly class nativeapp extend reac...
facebookreact
nest of component fail with late stable react typescript amd require js
Question
I currently have a working example of a project that use the late react typescript use tsx file together with the amd module loading system with require js and build run debugging in visual studio 2015 ce however if I now try to nest 2 react component into a parent react component I be get exce...
facebookreact
react cloneelement handle undefined prop differently to react createelement
Bug
I m not sure if this be expect but it catch I out early without clone function mycomponent mycomponent defaultprop foo foo let element react createelement mycomponent foo undefined console log element prop foo foo with clone function mycomponent...
facebookreact
question how to just update parentless component outside of it
Question
copy of stackoverflow question comment57616408 34941598 how should I properly update component if it doesn t have a parent I ve find two way to do it first method here I update component through change component s state var hello react createclass render function if th...