[Shanda Zhiyun Project Log] seahub frontend components common for source code analysis
2021SC@SDUSC This time, combined with the deployed web application interface of the original seafile, and then starting from the source code, find out the corresponding components on the page. Map each component of the page to the code. First from components Lower common Start under the folder. Sub components in the header component of the home ...
Added by Cloud on Sun, 31 Oct 2021 16:41:47 +0200
UMI request network request path
UMI request network request path
background
In the process of developing middle office business applications, we found the following problems on the request link:
Request libraries are diverse and not unified. Each new application needs to repeatedly implement a set of request layer logic. When switching applications, you need to re ...
Added by scraptoft on Sat, 30 Oct 2021 20:27:52 +0300
web componentization - micro front end, ie compatible
Article 1 Describes how to convert React components to web components
Part II This paper introduces that routing in web component can work normally with Shell App
Part III Describes how Sub App and Shell App interact through properties or custom events
Part IV This paper introduces the POC of micro front end realized by Web Component + React
Pa ...
Added by Frame on Sat, 30 Oct 2021 18:56:08 +0300
Implementation principle of React Hooks
home pagespecial columnfront endArticle details0Implementation principle of React HooksHZFEStudio Published 6 minutes agoWarehouse address of complete high frequency question bank: https://github.com/hzfe/awesome-interviewComplete high frequency question bank reading address: https://febook.hzfe.org/Related issuesWhat is React HooksHow is React ...
Added by jfourman on Sat, 30 Oct 2021 10:28:41 +0300
Audio signal classification and recognition based on Mel spectrum (pytoch)
home pagespecial columnfront endArticle details0Audio signal classification and recognition based on Mel spectrum (pytoch)Integrity and win-win Published 5 minutes agoThis project will use pytoch to realize a simple audio signal classifier, which can be applied to mechanical signal classification and recognition, bird call signal recognition an ...
Added by throx on Fri, 29 Oct 2021 17:17:39 +0300
react component encapsulation: the box in the visual page gradually floats up
demand
When sliding to the visual window, it gradually appears from bottom to topIt does not affect the layout structure of the internal boxHeight customization (delay time, sinking distance)
Renderings (gif slower, actually faster):
realization
reflection
For such requirements, since many parameters need to be filled with variables and t ...
Added by stoop on Fri, 15 Oct 2021 03:19:13 +0300
How to publish an npm application?
preface
We need to install all kinds of npm every day. How do we publish npm to the remote warehouse? Understanding the process of npm from coding to push ing to npm warehouse will help us debug npm packages better. Next, take a JSON tree diff package I wrote as an example to show the process from writing to publishing an npm package.
Initial ...
Added by kee1108 on Tue, 12 Oct 2021 06:56:18 +0300
React hooks (hook function)
1, Why are there Hooks
Before introducing Hooks, let's first talk about the creation methods of React components. One is class components and the other is pure function components. Moreover, the React team hopes that the components will not become complex containers, and it's better to just be a pipel ...
Added by ragefu on Mon, 11 Oct 2021 06:04:49 +0300
React strict mode - React.StrictMode
Strict mode (realtc. Strictmode)
StrictMode is a tool to mark potential problems in applications. It's Fragment. StrictMode doesn't render any real UI. It triggers an additional check warning for its descendant elements
Note: strict mode check only operates in development mode and will not conflict with production mode
Strict mode can be ena ...
Added by clicket on Sun, 10 Oct 2021 13:52:34 +0300
If you can use markdown, will you deploy a document website
I believe you will usually use markdown to write documents, especially with Typora, which is very convenient. But many times we are not satisfied with local documents, but to make the documents online, so that if the content is updated, team members can see it in time.
In fact, there are many open source projects used to generate static websit ...
Added by scotte on Sun, 10 Oct 2021 11:19:33 +0300