Giter VIP home page Giter VIP logo

githubchallenge_sprint3_react.js's Introduction

githubchallenge_sprint3 React.js

###React.js is JS library for building UI's. It is sometimes called the V in Model, View, Controller. It was developed to be used in applications with large amounts of data that change over time (think Facebook). React uses components (component-based architecture) -If a component gets too complex, smaller, simpler components can be created.

..1. Components ......*Components are used to create a virtual DOM ......*This allows the application to be fast ......*Using the render() function will create a virtual div or other html element ......*That same render() component can be used later to update the same element with different info. ==fast

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>React.js Hello World</title>
		<script src="../vendors/react.js"></script>
		<script src="../vendors/react-dom.js"></script>
		<script src="../scripts/components.js"></script>
	</head>
	<body>
		<h1>React.js Hello World Below</h1>
		<div id="HelloWorld">

		</div>
		<script src="../vendors/react.js"></script>
		<script src="../vendors/react-dom.js"></script>
		<script src="../scripts/components.js"></script>
	</body>
</html>
ReactDOM.render(
  React.DOM.div(null, "Hello React World!"),
  document.getElementById("HelloWorld")
);

--JSX allows us to manipulate the DOM without writing HTML code and classes. ---writing code within curly braces in JSX gets interpreted as vanilla JS>

##Notes from: Hacker Way: Rethinking Web App Development at Facebook https://www.youtube.com/watch?v=nYkdrAPrdcw

MVC is good for smaller applications that don't require the view to change often. ##and still is

githubchallenge_sprint3_react.js's People

Contributors

dkuntz811 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.