-
暂不介绍后端渲染 ssr
-
不介绍 react 早期 类写法
class Something extends React.Component {
constructor () {
}
! function i(a, o, r) { | |
function c(t, e) { | |
if (!o[t]) { | |
if (!a[t]) { | |
var n = "function" == typeof require && require; | |
if (!e && n) return n(t, !0); | |
if (s) return s(t, !0); | |
throw (e = new Error("Cannot find module '" + t + "'")).code = "MODULE_NOT_FOUND", e | |
} | |
n = o[t] = { |
# | |
思考框架文档 | |
问题:_________________________ | |
1. 定义问题: | |
在这一部分,我们将明确问题的核心,并确保对问题有一个清晰明确的理解。 | |
to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice | |
stun: | |
stun.l.google.com:19302, | |
stun1.l.google.com:19302, | |
stun2.l.google.com:19302, | |
stun3.l.google.com:19302, | |
stun4.l.google.com:19302, | |
stun.ekiga.net, | |
stun.ideasip.com, |
暂不介绍后端渲染 ssr
不介绍 react 早期 类写法
class Something extends React.Component {
constructor () {
}
version: '3' | |
services: | |
mongo1: | |
hostname: mongo1 | |
container_name: localmongo1 | |
image: mongo | |
restart: always | |
expose: | |
- 27017 | |
ports: |
import { useEffect, useRef } from 'react' | |
export default function Ani ({ parentContainerRef, className }) { | |
const canvasRef = useRef() | |
useEffect(() => { | |
const parentContainer = parentContainerRef?.current | |
if (!parentContainer) return |
// Settings in here override those in "Default/Preferences.sublime-settings", | |
// and are overridden in turn by syntax-specific settings. | |
{ | |
"font_face": "Fira Code", | |
"font_size": 16, | |
"font_options": [ | |
"subpixel_antialias", | |
// "gray_antialias" | |
], | |
"tab_size": 2, |
#define | |
#endif | |
#if | |
#ifdef | |
#ifndef | |
#import | |
#include | |
#pragma | |
%d | |
++i |
module.exports = [ | |
{ | |
"x":1, | |
"y":7, | |
"d":7 | |
}, | |
{ | |
"x":2, | |
"y":8, | |
"d":7 |