Skip to content

shrutikapoor08/react-coding-interview-questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

React Technical Interview Questions

Know a question that isn't here? Add to the bottom and create a pull request. See a question that you have an answer for? Add a link to a codesandbox demo. Thanks for helping the community!  

Goals

Most technical questions are looking to assess:

  1. Ability to call an API and parse JSON.
  2. Ability to handle promises.
  3. Ability to put data into state and use that to render on the page.
  4. Basic CSS (flexbox, border styles, background, centering a div on page)
  5. Abiltiy to handle events and gather target's value from input boxes (event.target.value)
  6. Ability to use hooks such as useState, useEffect.
  7. Ability to pass the right dependency array to useEffect.

Questions

  1. Create an app to fetch data from a JSON API. Use this data to render on the page. Provide ability to paginate the results Video
  2. Create a typeahead component.Video
  3. Given a mock, use React to render on the page. Check Sample Mocks section
  4. Create a TO-DO app.
  5. Infinite scrolling app
  6. Create a form that gathers user's data and sends it to server.
  7. Create a tic tac toe game.
  8. Create a slideshow type app. The data of slides could be given. It contains an image url, and the title of the slide. Left and Right navigation buttons are needed.
  9. Create a form app that has a different state of UI when a field is selected, has value or is visited. (Uses onFocus, onBlur events)
  10. Create a ticker that increments value every second.
  11. Create an app that allows user to click a button 5 times, and times them out afterwards.
  12. Create an app that uses debouncing / throttling.

Sample Mocks

image

About

Repository to store common interview questions asked during React technical screens

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published