How to Secure Your Documents with JSON Web Tokens (JWT)

How to Secure Your Documents with JSON Web Tokens (JWT) In this article, we explain how to use JSON Web Token JWT to protect online documents from unauthorized access, so that you can more securely integrate online document editor development into your own web applications. The open source office suite ONLYOFFICE Docs will be integrated her ...

Posted by shonuff on Wed, 18 May 2022 00:53:22 +0300

Analyze the principle of react router V5 from the source code

This article will analyze the source code of the remaining components in the react router <Redirect> Like other routing components, < redirect > uses < routercontext Consumer > receive routing data; Define prop types for < redirect > Redirect.propTypes = { push: PropTypes.bool, from: PropTypes.string, to: PropTypes ...

Posted by dyip on Tue, 17 May 2022 23:20:24 +0300

Implementing a Universal Visual Vue Plugin Based on AntV G2

foreword AntV G2 Adhere to the design values ​​of nature, certainty, sense of meaning, and growth. Different from other visualization plugins, G2 is a data-driven high-interaction visualization graph syntax, which is highly usable and extensible. With the continuous development of business visualization, the complexity of data is increasing. I ...

Posted by smoked1 on Tue, 17 May 2022 20:16:56 +0300

ES6 loops and iterables

Author: Alan StormTranslation: crazy tech nerdoriginal: https://alanstorm.com/es6s-ma...Reproduction without permission is strictly prohibited This article will examine ES6's for ... of loops. old way In the past, there were two ways to traverse javascript. The first is the classic for i loop, which allows you to iterate over an array or any ob ...

Posted by SZero on Tue, 17 May 2022 19:07:58 +0300

Fool's tutorial: building a Markdown previewer using Vue and Electron

The latest trend that developers must adapt to is to write a code base for multiple operating systems. Electron is a JavaScript framework that allows you to create desktop applications with simple JavaScript and HTML and convert websites into executable applications, making full use of all the functions of Windows, Mac or Linux operating syste ...

Posted by newguy45 on Tue, 17 May 2022 14:56:38 +0300

Use and understanding of entry-level canvas

1,canvas canvas is h5 a new tag added, so it may not be compatible in the lower version of ie.Canvas is a canvas, which can draw graphics freely.canvas is a native js object and jq is not recommended 2. Basic use and introduction of canvas 1. Foundation use Use the canvas tag to add width and height attributes The canvas tag is an inline t ...

Posted by logging on Tue, 17 May 2022 04:53:11 +0300

AST reverse principle analysis babel

1. What is Babel Babel is a tool chain, which is mainly used to convert code written in ECMAScript 2015 + syntax into backward compatible JavaScript syntax, so that it can run in current and old versions of browsers or other environments. Here's what Babel can do for you: grammatical transformationAdd missing features in the target environmen ...

Posted by mad3533 on Tue, 17 May 2022 04:49:43 +0300

Vue understands the slot and the use of its slot, slot scope and v-slot instructions

What is a slot Vue itself implements a complete mechanism of content distribution, using elements as the outlet of content distribution, that is, slots. The template, HTML code and components in the slot will be rendered. <!-- Example Definition of components --> <h1> <slot></slot> </h1> <Child> <p& ...

Posted by damic on Tue, 17 May 2022 03:35:43 +0300

Wechat applet HTML

Learning reason: because the interface in wechat applet is written by HTML, which is inconsistent with Qt control, understanding html is helpful to write wechat applet, and then my tutorial is actually to take a look Rookie tutorial , because it doesn't need to be proficient. It will become familiar with it when you use it more 1. Introduction ...

Posted by waltonia on Tue, 17 May 2022 01:52:07 +0300

[Vue] Basic Series - Binding Style (class and style)

4.1.class and style binding In the application interface, the style of a certain element(s) is changedclass/style binding is a technology specially used to achieve dynamic style effects (such as switching styles by clicking a button) 4.1.2.class binding :class='xxx'Expression is a string: 'classA'Expressions are objects: {classA:isA, cl ...

Posted by juancuca on Tue, 17 May 2022 00:40:14 +0300