You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-9
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# reactjs.org
1
+
# ja.reactjs.org
2
2
3
-
This repo contains the source code and documentation powering [reactjs.org](https://reactjs.org/).
3
+
This repo contains the source code and documentation powering [ja.reactjs.org](https://ja.reactjs.org/).
4
4
5
5
## Getting started
6
6
@@ -10,11 +10,11 @@ This repo contains the source code and documentation powering [reactjs.org](http
10
10
1. Node: any 8.x version starting with 8.4.0 or greater
11
11
1. Yarn: See [Yarn website for installation instructions](https://yarnpkg.com/lang/en/docs/install/)
12
12
1. A fork of the repo (for any contributions)
13
-
1. A clone of the [reactjs.org repo](https://github.com/reactjs/reactjs.org) on your local machine
13
+
1. A clone of the [ja.reactjs.org repo](https://github.com/reactjs/ja.reactjs.org) on your local machine
14
14
15
15
### Installation
16
16
17
-
1.`cd reactjs.org` to go into the project root
17
+
1.`cd ja.reactjs.org` to go into the project root
18
18
1.`yarn` to install the website's npm dependencies
19
19
20
20
### Running locally
@@ -26,11 +26,11 @@ This repo contains the source code and documentation powering [reactjs.org](http
26
26
27
27
### Guidelines
28
28
29
-
The documentation is divided into several sections with a different tone and purpose. If you plan to write more than a few sentences, you might find it helpful to get familiar with the [contributing guidelines](https://github.com/reactjs/reactjs.org/blob/master/CONTRIBUTING.md#guidelines-for-text) for the appropriate sections.
29
+
The documentation is divided into several sections with a different tone and purpose. If you plan to write more than a few sentences, you might find it helpful to get familiar with the [contributing guidelines](https://github.com/reactjs/ja.reactjs.org/blob/master/CONTRIBUTING.md#guidelines-for-text) for the appropriate sections.
30
30
31
31
### Create a branch
32
32
33
-
1.`git checkout master` from any folder in your local `reactjs.org` repository
33
+
1.`git checkout master` from any folder in your local `ja.reactjs.org` repository
34
34
1.`git pull origin master` to ensure you have the latest main code
35
35
1.`git checkout -b the-name-of-my-branch` (replacing `the-name-of-my-branch` with a suitable name) to create a branch
36
36
@@ -51,15 +51,16 @@ The documentation is divided into several sections with a different tone and pur
51
51
52
52
1.`git add -A && git commit -m "My message"` (replacing `My message` with a commit message, such as `Fixed header logo on Android`) to stage and commit your changes
53
53
1.`git push my-fork-name the-name-of-my-branch`
54
-
1. Go to the [reactjs.org repo](https://github.com/reactjs/reactjs.org) and you should see recently pushed branches.
54
+
1. Go to the [ja.reactjs.org repo](https://github.com/reactjs/ja.reactjs.org) and you should see recently pushed branches.
55
55
1. Follow GitHub's instructions.
56
56
1. If possible, include screenshots of visual changes. A Netlify build will also be automatically created once you make your PR so other people can see your change.
57
57
58
58
## Translation
59
59
60
-
If you are interesting in translating `reactjs.org`, please join the Crowdin.
60
+
If you are interested in translating `reactjs.org`, please see the current translation efforts at [isreacttranslatedyet.com](https://www.isreacttranslatedyet.com/).
If your language does not have a translation and you would like to create one, please follow the instructions at [reactjs.org Translations](https://github.com/reactjs/reactjs.org-translation#translating-reactjsorg).
Copy file name to clipboardExpand all lines: content/blog/2013-06-12-community-roundup.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: [vjeux]
5
5
6
6
React was open sourced two weeks ago and it's time for a little round-up of what has been going on.
7
7
8
-
## Khan Academy Question Editor
8
+
## Khan Academy Question Editor {#khan-academy-question-editor}
9
9
10
10
It looks like [Sophie Alpert](http://sophiebits.com/) is the first person outside of Facebook and Instagram to push React code to production. We are very grateful for her contributions in form of pull requests, bug reports and presence on IRC ([#reactjs on Freenode](irc://chat.freenode.net/reactjs)). Sophie wrote about her experience using React:
11
11
@@ -16,7 +16,7 @@ It looks like [Sophie Alpert](http://sophiebits.com/) is the first person outsid
16
16
>
17
17
> [Read the full post...](http://sophiebits.com/2013/06/09/using-react-to-speed-up-khan-academy.html)
18
18
19
-
## Pimp my Backbone.View (by replacing it with React)
19
+
## Pimp my Backbone.View (by replacing it with React) {#pimp-my-backboneview-by-replacing-it-with-react}
20
20
21
21
[Paul Seiffert](https://blog.mayflower.de/) wrote a blog post that explains how to integrate React into Backbone applications.
22
22
@@ -28,15 +28,15 @@ It looks like [Sophie Alpert](http://sophiebits.com/) is the first person outsid
28
28
>
29
29
> [Read the full post...](https://blog.mayflower.de/3937-Backbone-React.html)
30
30
31
-
## Using facebook's React with require.js
31
+
## Using facebook's React with require.js {#using-facebooks-react-with-requirejs}
32
32
33
33
[Mario Mueller](http://blog.xenji.com/) wrote a menu component in React and was able to easily integrate it with require.js, EventEmitter2 and bower.
34
34
35
35
> I recently stumbled upon facebook's React library, which is a JavaScript library for building reusable frontend components. Even if this lib is only at version 0.3.x it behaves very stable, it is fast and is fun to code. I'm a big fan of require.js, so I tried to use React within the require.js eco system. It was not as hard as expected and here are some examples and some thoughts about it.
36
36
>
37
37
> [Read the full post...](http://blog.xenji.com/2013/06/facebooks-react-require-js.html)
38
38
39
-
## Origins of React
39
+
## Origins of React {#origins-of-react}
40
40
41
41
[Pete Hunt](http://www.petehunt.net/blog/) explained what differentiates React from other JavaScript libraries in [a previous blog post](/blog/2013/06/05/why-react.html). [Lee Byron](http://leebyron.com/) gives another perspective on Quora:
Copy file name to clipboardExpand all lines: content/blog/2013-06-19-community-roundup-2.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: [vjeux]
5
5
6
6
Since the launch we have received a lot of feedback and are actively working on React 0.4. In the meantime, here are the highlights of this week.
7
7
8
-
## Some quick thoughts on React
8
+
## Some quick thoughts on React {#some-quick-thoughts-on-react}
9
9
10
10
[Andrew Greig](http://www.andrewgreig.com/) made a blog post that gives a high level description of what React is.
11
11
@@ -19,7 +19,7 @@ Since the launch we have received a lot of feedback and are actively working on
19
19
>
20
20
> [Read the full post...](http://www.andrewgreig.com/637/)
21
21
22
-
## React and Socket.IO Chat Application
22
+
## React and Socket.IO Chat Application {#react-and-socketio-chat-application}
23
23
24
24
[Danial Khosravi](https://danialk.github.io/) made a real-time chat application that interacts with the back-end using Socket.IO.
25
25
@@ -28,7 +28,7 @@ Since the launch we have received a lot of feedback and are actively working on
28
28
>
29
29
> [Read the full post...](https://danialk.github.io/blog/2013/06/16/reactjs-and-socket-dot-io-chat-application/)
30
30
31
-
## React and Other Frameworks
31
+
## React and Other Frameworks {#react-and-other-frameworks}
32
32
33
33
[Pete Hunt](http://www.petehunt.net/blog/) wrote an answer on Quora comparing React and Angular directives. At the end, he explains how you can make an Angular directive that is in fact being rendered with React.
34
34
@@ -40,7 +40,7 @@ Since the launch we have received a lot of feedback and are actively working on
40
40
41
41
In the same vein, [Markov Twain](https://twitter.com/markov_twain/status/345702941845499906) re-implemented the examples on the front-page [with Ember](http://jsbin.com/azihiw/2/edit) and [Vlad Yazhbin](https://twitter.com/vla) re-implemented the tutorial [with Angular](http://jsfiddle.net/vla/Cdrse/).
42
42
43
-
## Web Components: React & x-tags
43
+
## Web Components: React & x-tags {#web-components-react--x-tags}
44
44
45
45
Mozilla and Google are actively working on Web Components. [Vjeux](http://blog.vjeux.com/) wrote a proof of concept that shows how to implement them using React.
46
46
@@ -49,7 +49,7 @@ Mozilla and Google are actively working on Web Components. [Vjeux](http://blog.v
49
49
>
50
50
> [Read the full post...](http://blog.vjeux.com/2013/javascript/custom-components-react-x-tags.html)
51
51
52
-
## React TodoMVC Example
52
+
## React TodoMVC Example {#react-todomvc-example}
53
53
54
54
[TodoMVC.com](http://todomvc.com/) is a website that collects various implementations of the same basic Todo app. [Pete Hunt](http://www.petehunt.net/blog/) wrote an idiomatic React version.
55
55
@@ -60,7 +60,7 @@ Mozilla and Google are actively working on Web Components. [Vjeux](http://blog.v
60
60
>
61
61
> [Read the source code...](https://github.com/tastejs/todomvc/tree/gh-pages/labs/architecture-examples/react)
62
62
63
-
## JSX is not HTML
63
+
## JSX is not HTML {#jsx-is-not-html}
64
64
65
65
Many of you pointed out differences between JSX and HTML. In order to clear up some confusion, we have added some documentation that covers the four main differences:
Copy file name to clipboardExpand all lines: content/blog/2013-06-21-react-v0-3-3.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,18 @@ author: [zpao]
6
6
We have a ton of great stuff coming in v0.4, but in the meantime we're releasing v0.3.3. This release addresses some small issues people were having and simplifies our tools to make them easier to use.
7
7
8
8
9
-
## react-tools
9
+
## react-tools {#react-tools}
10
10
11
11
* Upgrade Commoner so `require` statements are no longer relativized when passing through the transformer. This was a feature needed when building React, but doesn't translate well for other consumers of `bin/jsx`.
12
12
* Upgraded our dependencies on Commoner and Recast so they use a different directory for their cache.
13
13
* Freeze our esprima dependency.
14
14
15
15
16
-
## React
16
+
## React {#react}
17
17
18
18
* Allow reusing the same DOM node to render different components. e.g. `React.renderComponent(<div/>, domNode); React.renderComponent(<span/>, domNode);` will work now.
19
19
20
20
21
-
## JSXTransformer
21
+
## JSXTransformer {#jsxtransformer}
22
22
23
23
* Improved the in-browser transformer so that transformed scripts will execute in the expected scope. The allows components to be defined and used from separate files.
Copy file name to clipboardExpand all lines: content/blog/2013-06-27-community-roundup-3.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: [vjeux]
5
5
6
6
The highlight of this week is that an interaction-heavy app has been ported to React. React components are solving issues they had with nested views.
7
7
8
-
## Moving From Backbone To React
8
+
## Moving From Backbone To React {#moving-from-backbone-to-react}
9
9
10
10
[Clay Allsopp](https://twitter.com/clayallsopp) successfully ported [Propeller](http://usepropeller.com/blog/posts/from-backbone-to-react/), a fairly big, interaction-heavy JavaScript app, to React.
11
11
@@ -17,7 +17,7 @@ The highlight of this week is that an interaction-heavy app has been ported to R
17
17
>
18
18
> [Read the full post...](http://usepropeller.com/blog/posts/from-backbone-to-react/)
19
19
20
-
## Grunt Task for JSX
20
+
## Grunt Task for JSX {#grunt-task-for-jsx}
21
21
22
22
[Eric Clemmons](https://ericclemmons.github.io/) wrote a task for [Grunt](http://gruntjs.com/) that applies the JSX transformation to your JavaScript files. It also works with [Browserify](http://browserify.org/) if you want all your files to be concatenated and minified together.
23
23
@@ -45,7 +45,7 @@ The highlight of this week is that an interaction-heavy app has been ported to R
45
45
>
46
46
> [Check out the project ...](https://github.com/ericclemmons/grunt-react)
[Joel Burget](http://joelburget.com/) wrote a blog post talking about the way we would write React-like components in Backbone and Handlebars.
51
51
@@ -57,13 +57,13 @@ The highlight of this week is that an interaction-heavy app has been ported to R
57
57
>
58
58
> [Read the full post...](http://joelburget.com/react/)
59
59
60
-
## JSRomandie Meetup
60
+
## JSRomandie Meetup {#jsromandie-meetup}
61
61
62
62
[Renault John Lecoultre](https://twitter.com/renajohn/) from [BugBuster](http://www.bugbuster.com) did a React introduction talk at a JS meetup called [JS Romandie](https://twitter.com/jsromandie) last week.
[Vjeux](http://blog.vjeux.com/) used the fact that JSX is just a syntactic sugar on-top of regular JS to rewrite the React front-page examples in CoffeeScript.
69
69
@@ -81,7 +81,7 @@ The highlight of this week is that an interaction-heavy app has been ported to R
81
81
>
82
82
> [Read the full post...](http://blog.vjeux.com/2013/javascript/react-coffeescript.html)
83
83
84
-
## Tutorial in Plain JavaScript
84
+
## Tutorial in Plain JavaScript {#tutorial-in-plain-javascript}
85
85
86
86
We've seen a lot of people comparing React with various frameworks. [Ricardo Tomasi](http://ricardo.cc/) decided to re-implement the tutorial without any framework, just plain JavaScript.
0 commit comments