Micro Front End Project 2 (VUE)

Preface         Micro Front-end: Theory Paper        Micro Front End - portal Project        Micro Front End - menu & Project 1 (React)The previous article explained the application of react project in single-spa micro-front-end architecture. This article is the last one, the application of vue project in this architecture. Project2 project ...

Posted by widget on Fri, 02 Aug 2019 12:07:42 +0200

ReactRedux for Front End Notes

1. Redux Global Perception Redux is a JavaScript state management container that provides a state management container for predictable states.From Flux, Facebook launched the Redux Library in 2015. Chinese website: http://www.redux.org.cn/ Official git: https://github.com/reduxjs/redux   First, you'll reference the redux.js package, which ...

Posted by johnbest on Fri, 02 Aug 2019 04:00:42 +0200

React.createContext() for React source parsing

Preface:Since childContext will be discarded in React17, we will not analyze it, mainly the explanation of the new API, createContext(). 1. React.createContext() Effect:Convenient transfer of values between ancestor components and descendant components (separated by many layers of components) Use:context.js: import React from 'react'; const ...

Posted by skyloon on Wed, 31 Jul 2019 03:51:52 +0200

Analysis of Redux Principle

What is Redux Many people think that Redux must be used in conjunction with React. In fact, it is not. Redux is a JavaScript state container. As long as you use state in your project and the state is very complex, you can use Redux to manage your project state. It can be used in react or in Vue, of course. Other frameworks apply. I. The Workin ...

Posted by plouka on Tue, 23 Jul 2019 12:07:59 +0200

Reaction-native-baidu-map iOS end integration

Recently, many netizens have asked RN how to integrate Baidu Map. I used react-native-baidu-map in both previous projects. I feel that the steps are slightly complicated. If there is a slight omission in one step, it is easy to make a mistake. Next, I will build a new project from scratch and record the process of my installation step by step. ...

Posted by mosizlak on Wed, 17 Jul 2019 00:48:24 +0200

React Native05 - Component Image and Nine Palace Effect

Preface Some people asked me how to learn a technology and master it most quickly. My answer is to write a blog or explain it to others. There is one thing in common between these two ways, that is, they all need special research. When we go to study by ourselves, we tend to have a kind of muddle-through mentality, such as: "Forget it, do ...

Posted by cljones81 on Sat, 13 Jul 2019 00:09:41 +0200

Talking about React Implementation Comment Box

Structure: Layer 1 - CommentBox Layer 2 - CommentList Layer 3 - Comment Layer 2 - CommentForm   1. JSX grammar: var CommentBox = React.createClass({ render: function() { return ( <div className="commentBox"> CommentBox </div> ); } }); ReactDOM.render( <CommentBox />, document.getElementById('commentBox ...

Posted by hemoglobina on Sat, 06 Jul 2019 23:02:45 +0200

On JSX Grammar of React

The best solution is to generate templates directly through JavaScript and then build user interfaces. To make it simpler, there is a very simple and optional HTML-like syntax that generates templates through function calls, called JSX. 1. Why use JSX? You don't need to use JSX for React, you can use JavaScript directly, but JSX is recommend ...

Posted by vzwhaley on Fri, 05 Jul 2019 23:18:05 +0200

ScrollView in react native

1. Introduction to ScrollView (official explanation): ScrollView is a general scrollable container in which you can put multiple components and views, and these components do not need to be of the same type. ScrollView can not only scroll vertically (default), but also horizontally (set by the horizontal attribute). 2. ScrollView common attr ...

Posted by Dragoa on Tue, 02 Jul 2019 21:27:35 +0200

Reaction Chat: Analysis and Sharing of the Basic Textbook of Reaction Official Website

Basic Analysis of Reaction Official Web Course First issue: Basic Analysis of Github Reaction Official Course Open Reaction English official website, are you still because your English is not good, using translation software to see confusion. Don't worry, I combined the latest react official website tutorial, after a detailed study, based on my ...

Posted by etnastyles on Mon, 01 Jul 2019 04:06:45 +0200