Skip to content

Commit 9e3c9ce

Browse files
committed
Move contributor above name in snippet headers
1 parent cf6a797 commit 9e3c9ce

10 files changed

+10
-10
lines changed

+web-react-mode/component

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: React component
32
# contributor: Seong Yong-ju <[email protected]>
3+
# name: React component
44
# key: component
55
# --
66
import { Component } from 'react';

+web-react-mode/component-class

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: React component class
32
# contributor: Seong Yong-ju <[email protected]>
3+
# name: React component class
44
# key: component-class
55
# --
66
import { Component } from 'react';

+web-react-mode/componentDidMount

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: componentDidMount
32
# contributor: Seong Yong-ju <[email protected]>
3+
# name: componentDidMount
44
# key: componentDidMount
55
# --
66
componentDidMount() {

+web-react-mode/componentDidUpdate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: componentDidUpdate
32
# contributor: Seong Yong-ju <[email protected]>
3+
# name: componentDidUpdate
44
# key: componentDidUpdate
55
# --
66
componentDidUpdate() {

+web-react-mode/componentWillUnmount

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: componentWillUnmount
32
# contributor: Seong Yong-ju <[email protected]>
3+
# name: componentWillUnmount
44
# key: componentWillUnmount
55
# --
66
componentWillUnmount() {

+web-react-mode/getDerivedStateFromProps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: getDerivedStateFromProps
32
# contributor: Seong Yong-ju <[email protected]>
3+
# name: getDerivedStateFromProps
44
# key: getDerivedStateFromProps
55
# --
66
static getDerivedStateFromProps(nextProps, prevState) {

+web-react-mode/getSnapshotBeforeUpdate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: getSnapshotBeforeUpdate
32
# contributor: Seong Yong-ju <[email protected]>
3+
# name: getSnapshotBeforeUpdate
44
# key: getSnapshotBeforeUpdate
55
# --
66
static getSnapshotBeforeUpdate(prevProps, prevState) {

+web-react-mode/shouldComponentUpdate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: shouldComponentUpdate
32
# contributor: Seong Yong-ju <[email protected]>
3+
# name: shouldComponentUpdate
44
# key: shouldComponentUpdate
55
# --
66
shouldComponentUpdate(nextProps, nextState) {

+web-react-mode/useEffect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: useEffect
32
# contributor: Seong Yong-ju <[email protected]>
3+
# name: useEffect
44
# key: useEffect
55
# --
66
useEffect(() => {

+web-react-mode/useState

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: useState
32
# contributor: Seong Yong-ju <[email protected]>
3+
# name: useState
44
# key: useState
55
# --
66
const [${1:state}, set${1:$(if (>= (length yas-text) 1)

0 commit comments

Comments
 (0)