Reading: React Native
Review, Research, and Discussion
- 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.
- 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
- 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
- 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.
- What is react native and why we use it=> React Native (also known as RN) is a popular JavaScript-based mobile app framework that allows you to build natively-rendered mobile apps for iOS and Android. The framework lets you create an application for various platforms by using the same codebas