React JS MCQ Set -1

Read Best React Js MCQ Interview questions

1. Everything in React is a _____________ Module Component

2. In which directory React Components are saved? Inside js/components/ Inside vendor/components/

Read Latest React js Interview questions

3. How many elements does a react component return? 1 Element 2 Element

4. What is state in React? A persistant storage. An internal data store (object) of a component.

5. What is Babel? A transpiler. A Compiler that compiles react Code.

6. What does the "webpack" command do? Transpiles all the Javascript down into one file Runs react local development server.

7.What port is the default where the webpack-dev-server will run? 3306 8080.

8.What is ReactJS? Server side Framework User-interface framework Both

Also, Read Some React Native Interview questions

9. What are the two ways that data gets handled in React?/a> state & props services & components

10. Props are __________ into other components Injected methods.