Top "React-jsx" questions

React is a JavaScript library for building user interfaces.

Can you force a React component to rerender without calling setState?

I have an external (to the component), observable object that I want to listen for changes on. When the object …

reactjs react-jsx
How to pass props to {this.props.children}

I'm trying to find the proper way to define some components which could be used in a generic way: <…

javascript reactjs react-jsx
Adding script tag to React/JSX

I have a relatively straightforward issue of trying to add inline scripting to a React component. What I have so …

javascript reactjs ecmascript-6 react-jsx
How to loop and render elements in React.js without an array of objects to map?

I'm trying to convert a jQuery component to React.js and one of the things I'm having difficulty with is …

javascript jquery reactjs react-jsx
Insert HTML with React Variable Statements (JSX)

I am building something with React where I need to insert HTML with React Variables in JSX. Is there a …

javascript html frontend reactjs react-jsx
Why calling react setState method doesn't mutate the state immediately?

I'm reading Forms section of reactjs documentation and just tried this code to demonstrate onChange usage (JSBIN). var React= require(…

javascript reactjs react-jsx
ReactJS: "Uncaught SyntaxError: Unexpected token <"

I am trying to get started building a site in ReactJS. However, when I tried to put my JS in …

javascript html reactjs react-jsx
How to have conditional elements and keep DRY with Facebook React's JSX?

How do I optionally include an element in JSX? Here is an example using a banner that should be in …

javascript reactjs react-jsx
React / JSX Dynamic Component Name

I am trying to dynamically render components based on their type. For example: var type = "Example"; var ComponentName = type + "Component"; …

javascript reactjs react-jsx
Using onBlur with JSX and React

I am trying to create a password confirmation feature that renders an error only after a user leaves the confirmation …

html reactjs reactive-programming react-jsx onblur