View on GitHub

reading-notes

Reading: React Native

Review, Research, and Discussion

  1. Compare and Contrast Redux Toolkit with Redux “Ducks”:
    • Ducks =>the Redux logic for that feature should be written as a single “slice” file, preferably using the Redux Toolkit createSlice AP
    • Redux Toolkit=> is our official, opinionated, batteries-included toolset for efficient Redux development. … It also includes the most widely used Redux addons, like Redux Thunk for async logic and Reselect for writing selector functions, so that you can use them right away.
  2. What is the principle advantage of Redux Toolkit
    • Redux Toolkit makes it easier to write good Redux applications and speeds up development, by baking in our recommended best practices, providing good default behaviors, catching mistakes, and allowing you to write simpler code. Redux Toolkit is beneficial to all Redux users regardless of skill level or experience

      Document the following Vocabulary Terms

      redux toolkit slices
      createSlice is a higher order function that accepts an initial state, an object full of reducer functions and a slice name. It automatically generates action creators and action types that correspond to the reducers and state
namespace
used for logical grouping of functionalities. A namespace can include interfaces, classes, functions and variables to support a single or a group of related functionalities. A namespace can be created using the namespace keyword followed by the namespace name.

Review:

React Native combines the best parts of native development with React, a best-in-class JavaScript library for building user interfaces.

Why=> Use a little—or a lot. You can use React Native today in your existing Android and iOS projects or you can create a whole new app from scratch.