In this case using NodeJS and ReactJS at the same project. The React has server example for NodeJS, Ruby, Python, PHP. We can clone de repository and after install all dependencies. For that first : git clone https://github.com/reactjs/react–tutorial.git comments npm install Run the App : npm start The file server.js is used express module in order to… Seguir leyendo ReactJS & NodeJS Comments App.
Categoría: JavaScript
React PropTypes
When you create a class with React, using the createClass method. We can use some properties and methods in order to manage behavior of our class. for this let’s use points : propTypes and getDefaultProps. propTypes : We can set the properties of the class. getDefaultProps: We can set default values. So we can set the components… Seguir leyendo React PropTypes
React JS TODO LIST
Todo App. A simple way to work with de dom. We will create a simple form with one text field and a submit button, using the method React.createClass, so let’s do it : We have two classes, one for create every task and other for refresh every task on the browser. We can show items… Seguir leyendo React JS TODO LIST
First App with React JS
In this tutorial we deploy a simple App with React, using only a input text associated with a initial state, and every change of value will be displayed in other div. For this we use React.createClass, implementing the method render which shows html content of the class. React use lot of interesting methods like GetInitialState… Seguir leyendo First App with React JS
React JS Introduction
React JS Rect JS is a open source library for creation of UI. It’s kept by Instagram and Facebook. Reacts works with the User Interface and works great with big applications using the view on the pattern design (M-V-C). For download the React JS source use this link : Get React JS Source React JS First… Seguir leyendo React JS Introduction