
React~Redux Questions — Part 1
- Pass data from Parent to Child. ( props, contextApi, redux)
- Pass data from Child to Parent (props as callback)
- Initialise & using sessionStorage in React?
- PreventDefault, stopPropagation, false.
- ComponentWillReceiveProps vs shouldComponentUpdate
- setState is synchronous or Asynchronous
- Component, pureComponent, stateless functional component.
- contextAPI
- how you can build your own custom middleware?
- redux saga over redux thunk
- console.log(this.state) immediately after setState({})
- this.props.render vs react.cloneElement()
- one way binding vs two way binding
- webpack (features)> gulp > grunt
- npm scripts
- redux vs mobx
- client Side Rendering (render) vs Server Side Rendering (hydrate)
- What’s the point of passing a function instead of an object?
- High Order Component (connect())
- ContextAPI
- passing a function in setState()vs passing an object
- binding in constructor (recommended) over binding in property (anti-pattern)
- do we need to bind functions any more
- regular DOM vs Virtual DOM
- React Component (stateful) vs React element (stateless, immutable)
- development build vs production build
- react redux vs context API
- Controlled vs Uncontrolled components
- object.assign() vs …(spread operator)
- Lazy loading in react (lazy() + suspense)
- Code Splitting vs Tree Shaking (Webpack)
- Basic React-Redux setup (via code)