About the React.js FAQ category
|
|
0
|
399
|
December 30, 2017
|
What is an HTML-like JSX element?
|
|
2
|
4658
|
May 2, 2020
|
How can we access the individual elements or values of a prop which is an array or object?
|
|
3
|
5124
|
January 26, 2021
|
Can we access state properties using bracket notation?
|
|
2
|
5376
|
January 19, 2021
|
Why sometimes import has {} and sometimes doesn't?
|
|
4
|
6804
|
November 14, 2020
|
Is using a variable to set an attribute better practice than using object properties to set attributes?
|
|
6
|
5818
|
October 11, 2020
|
What does JSON.stringify do?
|
|
1
|
9667
|
February 18, 2021
|
Is the ReactDOM render() method the same as the component render() method?
|
|
0
|
5296
|
January 3, 2019
|
When should I use logic inside of render vs logic inside of the class declaration?
|
|
3
|
5008
|
November 21, 2020
|
Can we pass the entire state object to the child component?
|
|
3
|
4773
|
October 17, 2020
|
What happens if I don't use this when referencing a method from inside a class?
|
|
10
|
4318
|
December 2, 2020
|
What if the specified container already has contents when rendering to it?
|
|
4
|
4329
|
October 28, 2020
|
Why do I get errors when I pass the method with () to the attribute?
|
|
5
|
2855
|
May 26, 2020
|
Can we return multiple elements in the render function?
|
|
8
|
6655
|
November 21, 2020
|
Should we always set defaultProps for every prop value?
|
|
0
|
4985
|
January 29, 2019
|
Can you set the component's state in this method?
|
|
0
|
2714
|
January 29, 2019
|
Why can I use a ternary operator inside a JSX expression but not an if statement?
|
|
9
|
6631
|
January 7, 2021
|
Can I call multiple event handlers in response to a single event?
|
|
15
|
17823
|
December 2, 2020
|
Are there any other HTML attributes that are reserved keywords in JavaScript that I wont be able to use in JSX?
|
|
3
|
8323
|
November 16, 2020
|
Why don't we set the event listener attribute value to a function call?
|
|
3
|
6720
|
April 4, 2020
|
What is a static property?
|
|
0
|
2578
|
February 13, 2019
|
Why don't I need a ReactDOM.render() for each component?
|
|
6
|
9004
|
November 22, 2020
|
Can I use .forEach() to create a list of JSX elements?
|
|
1
|
22245
|
December 6, 2019
|
Can we only create one component instance at a time?
|
|
2
|
5152
|
May 2, 2020
|
Can you import multiple objects from a library at once?
|
|
4
|
5549
|
January 19, 2020
|
Is there a way to work with the individual children of a component?
|
|
6
|
4686
|
September 16, 2020
|
Why would I use React.createElement() instead of JSX?
|
|
9
|
7142
|
November 21, 2020
|
Can props only be passed down the component tree?
|
|
4
|
5078
|
December 2, 2020
|
How does this update the text on every change?
|
|
1
|
1801
|
April 30, 2019
|
Do controlled and uncontrolled just mean stateless and stateful?
|
|
0
|
2857
|
February 28, 2019
|