馃殌 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 馃挭

Task #3801, Stage #29 - Vocabulary Builder app

Let鈥檚 add a modal window to the Words container. First, let鈥檚 add the logic to enable it. Let鈥檚 create its state with useState. The initial value is an object with fields:...

August 15, 2020 路 1 min 路 Coderslang Master

Task #3801, Stage #3 - Vocabulary Builder app

Let鈥檚 add the navigator component in the file src/components/Navigator/index.js. Let鈥檚 immediately add temporary components for our future screens. Let鈥檚 place them in the src/containers folder: Words/index.js, Lists/index.js, AddingListOrWord/index.js. All components and containers must be named exactly the same as the folders in which they are located....

August 15, 2020 路 1 min 路 Coderslang Master

Task #3801, Stage #30 - Vocabulary Builder app

The Words container needs to be connected to the store using the connect method. We will use both mapStateToProps and mapDispatchToProps. mapStateToProps should only return one words property equal to the WORDS from the state....

August 15, 2020 路 1 min 路 Coderslang Master

Task #3801, Stage #31 - Vocabulary Builder app

The AddingListOrWord container must be connected to the store using the connect method. We will use both mapStateToProps and mapDispatchToProps. mapStateToProps must return two loading and error properties from the state....

August 15, 2020 路 2 min 路 Coderslang Master

Task #3801, Stage #32 - Vocabulary Builder app

The final touch is loading data between inclusions. In the file App.js, add a call to the store.dispatch method before loading the fonts. store we imported earlier and passed it to the provider....

August 15, 2020 路 1 min 路 Coderslang Master

Task #3801, Stage #4 - Vocabulary Builder app

Let鈥檚 add a file with a list of colors that will be used in the project. From the src/assets/styles/colors.js file, export the default object. In this object, define the colors: blue: #4D8ADA, blue1: #FAFCFF, blue2: #D5E2F2, blue3: #DEECFE, black: #1E1E1E,...

August 15, 2020 路 1 min 路 Coderslang Master

Task #3801, Stage #5 - Vocabulary Builder app

Let鈥檚 add the component src/components/Buttons/RadialButton. This component must return a TouchableOpacity element that wraps the Icon component. The onPress property must be forwarded to TouchableOpacity. Pass the following properties to the Icon component: size - 35, color - colors....

August 15, 2020 路 1 min 路 Coderslang Master

Task #3801, Stage #6 - Vocabulary Builder app

Let鈥檚 add the src/components/NavigationHeader component. This component should return the StatusBar element. NavigationHeader should have default properties: barStyle: dark, backgroundColor: transparent. The StatusBar must have animated and translucent properties equal to true....

August 15, 2020 路 1 min 路 Coderslang Master

Task #3801, Stage #7 - Vocabulary Builder app

Let鈥檚 work on the Lists screen. It should return a snippet with two SafeAreaView elements. The first one should have styles: flex: 1, backgroundColor - colors.blue. Second: flex: 0, backgroundColor: colors....

August 15, 2020 路 2 min 路 Coderslang Master

Task #3801, Stage #8 - Vocabulary Builder app

Let鈥檚 connect redux and navigation to our application To do this, import the src/components/Navigator component and the Provider component from react-redux. Now, after the fonts are loaded in the <App /> component, the navigator wrapped by the provider should be returned....

August 15, 2020 路 1 min 路 Coderslang Master