Skip to content

Instantly share code, notes, and snippets.

View arkist's full-sized avatar
🐣

Jinwoo Oh arkist

🐣
View GitHub Profile
@arkist
arkist / hello.md
Created September 26, 2023 17:22
Hello

:D

@arkist
arkist / react-v15-doc-ko.diff
Last active March 8, 2016 07:03
git diff 1c14477..HEAD --name-only | grep docs/docs | grep '[^(JP|IT|CN)].md$' | xargs git diff 1c14477..HEAD --
diff --git a/docs/docs/02.1-jsx-in-depth.md b/docs/docs/02.1-jsx-in-depth.md
index c395f36..8397e50 100644
--- a/docs/docs/02.1-jsx-in-depth.md
+++ b/docs/docs/02.1-jsx-in-depth.md
@@ -82,10 +82,7 @@ var Nav = React.createClass({ });
var Nav = React.createClass({displayName: "Nav", });
```
-Use the [Babel REPL](https://babeljs.io/repl/) to try out JSX and see how it
-desugars into native JavaScript, and the
@arkist
arkist / SassMeister-input.scss
Created October 30, 2015 09:14
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// Susy (v2.2.5)
// ----
@import "susy";
/**
* placeholder w/media query 예제
@arkist
arkist / react-docs-update-to-v0.13.diff
Created March 11, 2015 04:04
git diff b95ad29..facebook/master -- docs/docs
diff --git a/docs/docs/02.1-jsx-in-depth.md b/docs/docs/02.1-jsx-in-depth.md
index 224b8cb..7669ada 100644
--- a/docs/docs/02.1-jsx-in-depth.md
+++ b/docs/docs/02.1-jsx-in-depth.md
@@ -73,6 +73,15 @@ var app = React.createElement(
);
```
+JSX will infer the class's [displayName](/react/docs/component-specs.html#displayName) from the variable assignment when the displayName is undefined:
+