Skip to content

Instantly share code, notes, and snippets.

🍋
</>

XiaoYan Li lixiaoyan

🍋
</>
Block or report user

Report or block lixiaoyan

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
@lixiaoyan
lixiaoyan / entry.js
Last active Jun 28, 2019
React 16: ReactDOM.hydrate(...)
View entry.js
import React from "react";
import ReactDOM from "react-dom";
import { AppContainer } from "react-hot-loader";
import App from "./App";
const render = (hydrate = false) => {
const container = document.querySelector("#app");
const element = (
<AppContainer>
@lixiaoyan
lixiaoyan / Portal.js
Last active Dec 12, 2017
React 16: Portal
View Portal.js
import React from "react";
import PropTypes from "prop-types";
import { createPortal } from "react-dom";
class Portal extends React.Component {
static propTypes = {
children: PropTypes.node,
};
state = { mounted: false };
@lixiaoyan
lixiaoyan / omega-bbs-cla-individual.txt
Created Sep 18, 2017
ω bbs Individual Contributor License Agreement
View omega-bbs-cla-individual.txt
# ω bbs Individual Contributor License Agreement
Thank you for your interest in contributing to ω bbs ("We" or "Us").
This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please sign it and send it to Us, following the instructions at https://cla-assistant.io/. This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.
## 1. Definitions
**"You"** means the individual who Submits a Contribution to Us.
View keybase.md

Keybase proof

I hereby claim:

  • I am lixiaoyan on github.
  • I am intptr (https://keybase.io/intptr) on keybase.
  • I have a public key ASCL90YO--HG1KnhpfiEbbEF0dI9gaxehWZ49_i-oZI-cwo

To claim this, I am signing this object:

View build.js
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
"use strict";
require("core-js");
require("whatwg-fetch");
require("dom4");
var _loglevel = require("loglevel");
View keybase.md

Keybase proof

I hereby claim:

  • I am lixiaoyan on github.
  • I am intptr (https://keybase.io/intptr) on keybase.
  • I have a public key ASAQ6yhcgH8PKz5QG8myH2S-1uIKEC_0XOE3UU6m1QvYJwo

To claim this, I am signing this object:

View template.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
{block:Description}
<meta name="description" content="{MetaDescription}" />
{/block:Description}
<link rel="alternate" type="application/rss+xml" href="{RSS}" />
<title>{Title}</title>
<script src="//use.edgefonts.net/cooper-black-std.js"></script>
You can’t perform that action at this time.