Skip to content

Instantly share code, notes, and snippets.

View xgqfrms-GitHub's full-sized avatar
🌴
On vacation

anonymous xgqfrms-GitHub

🌴
On vacation
View GitHub Profile
@xgqfrms-GitHub
xgqfrms-GitHub / stateless -function-components-no-refs.md
Last active December 22, 2021 18:35
Stateless function components & no refs

Stateless function components & no refs

Invariant Violation: Stateless function components cannot have refs.

    
const styles = {
    width: "100px",
@xgqfrms-GitHub
xgqfrms-GitHub / es6-React-export-import-module.md
Last active June 30, 2017 03:18
React export & import , ES6 module

React export & import

export {IndexComponents};

export default IndexComponents;

import {MenuManagement} from './MenuManagement';

@xgqfrms-GitHub
xgqfrms-GitHub / class-components-props-function(props).md
Last active June 30, 2017 08:50
class components props & function components (props)
@xgqfrms-GitHub
xgqfrms-GitHub / html5-tempalte-all-in-one.md
Last active April 18, 2022 08:38
# html5 tempalte all in one

html5 tempalte all in one

<!DOCTYPE html>
<html lang="zh-Hans" manifest="manifest.appcache">
<!-- manifest.json -->

<head>
    <!--
@xgqfrms-GitHub
xgqfrms-GitHub / fetch-iife-es6-return-undefined.md
Created June 28, 2017 01:42
fetch & IIFE & ES6 & return undefined

fetch & IIFE & ES6 & return undefined

    
// IIFE & return


let nct = ((username=`xgqfrms-GitHub`, repo=`Node-CLI-Tools`) => {
    fetch(`https://api.github.com/repos/${username}/${repo}/commits`,{
@xgqfrms-GitHub
xgqfrms-GitHub / QC-Quality-Centre.md
Last active June 28, 2017 00:52
Mercury Quality Centre

Mercury Quality Centre

http://www.softwaretestingstuff.com/2007/10/mercury-quality-centre.html

Mercury Quality Centre is a web-based test management tool.

It gives you a centralized control over the entire testing life cycle. It gives an easy interface to manage and organize activities like Requirements coverage, Test Case Management, Test Execution Reporting, Defect Management, and Test Automation.