Skip to content

Instantly share code, notes, and snippets.

😂
In the 995.5

shanlanCoding

😂
In the 995.5
Block or report user

Report or block shanlanCoding

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shanlanCoding
shanlanCoding / 可筛选的表单应用
Created Aug 23, 2019
使用React创建一个可筛选的表单
View 可筛选的表单应用
import React from "react";
import ReactDOM from "react-dom";
// eslint-disable-next-line
class Hello extends React.Component {
render() {
return (<h1>你好,React;你好,WebStorm </h1>);
}
}
@shanlanCoding
shanlanCoding / index.js
Created Aug 21, 2019
React状态提示代码示例
View index.js
// 温度常量标量名
const scaleNames = {
c: "Celsius",
f: "Fahrenheit"
};
// 温度单位转换计算
function toCelsius(fahrenheit) {
return ((fahrenheit - 32) * 5) / 9;
You can’t perform that action at this time.