walmart/sunnyvale/2019/在职/SWE/Onsite/Pass

team : ecommerce, 职位:full stack engineer

第一轮,印度小姐姐:make three api calls and get the last response. 用promise chain和aysn await, make http request

each api given http request method and backend request & response

/login, /subscribe, /orders

第二轮,白人小哥,后端的:

1.talk about React and redux

2.challenge project in work

3.why we cannot implement JSX in browser

4.how many phases in component life cycle?

5.explain initialization in component life cycle

第三轮(用zoom,arkansas小哥):

  1. String (indexOf, splice, slice,…)/Array (some, every, …) /Object apis

  2. React, Redux

  3. testing in frontend, unit test (Jest/Enzyme/other testing tools)

第四轮:经理面,用zoom

  • react feature

  • the advantages and disadvantages using react

  • what is props and state?

  • how you use state in react?

  • As for props, can child component pass value to parent component?

  • how many event in react?

  • Explain Synthetic Event in React

  • Stateful component and stateless component

  • Can stateless component change state?

  • What is Flux, the difference between Redux and Flux

  • why you use redux?

  • What are redux components? Is view the component in redux?

  • can redux reverse data flow?

  • what is pure component? give an example