React HOC higher order component learning
What is React HOC?
React HOC - Higher Order Component, also known as react's high-order Component, is usually implemented by a function that accepts one Component and outputs another, similar to Java's proxy mode. It implements some object decorators or interceptors in combination or other ways.To sum up, React HOC is essentially a function. T ...
Added by shibiny on Wed, 19 Jan 2022 16:50:47 +0200
"Building block library" is a codeless development platform built by GraphQL technology
The biggest benefit of GraphQL is to simplify the request response content without redundant fields. The front end can decide what data the back end returns. However, it should be noted that the decision-making power of the front end depends on what data the back end supports. Therefore, GraphQL is more like a REST that simplifies the return ...
Added by Dream$of$uccess on Tue, 18 Jan 2022 03:59:27 +0200
JSX, element rendering, component & Props
1. What is JSX?
const element = <h1>Hello, world!</h1>;
JSX is a JavaScript syntax extension 2. Why use JSX? You need to bind and process events in the UI, notify the UI when the state changes at some time, and display the prepared data in the UI. React doesn't force JSX, but most people find it visually helpful to put JSX and UI ...
Added by Jalz on Tue, 18 Jan 2022 02:26:23 +0200
Ab initio front end --es6 (Promise)
Promise
concept
Promise is a solution for asynchronous programming, which is more reasonable and powerful than traditional solutions - callback functions and events.
The Promise is simply a container that holds the results of an event (usually an asynchronous operation) that will not end in the future.
characteristic
The state of the objec ...
Added by allinurl on Mon, 17 Jan 2022 20:43:04 +0200
Some problems and solutions encountered in the initial experience of internationalization of spring cloud & react project
background
Recently, possible foreign customers have appeared in the project in charge, so the system should be internationalized in order to develop the international market. After all, making dollars is fun. The front end of the project is separated from the front end. The front end is developed based on React, and the back end is spring clo ...
Added by mhenke on Sun, 16 Jan 2022 04:33:20 +0200
Handwritten signing and approval of online documents under React framework
Based on the Office core technology independently developed by Yongzhong Software Co., Ltd. for more than ten years, Yongzhong cloud service platform provides a variety of Saas services for document processing and processing, and realizes a variety of functions such as document online preview, document online editing, document format conversion ...
Added by FramezArt on Sat, 15 Jan 2022 05:35:07 +0200
How do we encapsulate the common bullet frame in the project
preface
With the product iteration, there are more and more bullet frames in the project, and there are more bullet frames shared by business modules. In the initial stage, it may not be a common business pop-up box. We only put it in the current business module. With the iterative upgrade, some modules will become common bullets. In short, a ...
Added by beanman1 on Fri, 14 Jan 2022 04:17:21 +0200
react preliminary learning
What is React?
React is a declarative, efficient and flexible JavaScript library for building user interfaces
the simplest example of React
ReactDom.render(
<h1>Hello World</h1>,
document.getElementById('root')
)
ReactDom.render accepts two parameters, the first is the content to be inserted, and the sec ...
Added by tibberous on Fri, 14 Jan 2022 03:11:56 +0200
react basic learning notes
ECMAScript6
1. ES6 introduction
1.1 what is ES6
ECMAScript 6.0 (hereinafter referred to as ES6) is the next generation standard of JavaScript language, which has been officially released in June 2015. Its goal is to make JavaScript language can be used to write complex large-scale applications and become an enterprise development language.
...
Added by deolsabh on Fri, 14 Jan 2022 02:00:22 +0200
Components of Day 136/200 React & Props
Write in front
I recently learned React because I wanted to CVAT project. I can't understand the project code.
The boss said he wanted to learn React. I was not convinced, so I read TypeScript and looked at the project code, but I still couldn't understand it.
So I began to learn React and found that many places I couldn't understand be ...
Added by Rodders on Fri, 14 Jan 2022 01:34:11 +0200