Reactjs
August 18, 2018
ADVANCED GUIDES: JSX In Depth
JSX In Depth Fundamentally, JSX just provides syntactic sugar for the React.createElement(component, props, ...children) function. The JSX…
Reactjs
August 18, 2018
MAIN CONCEPTS: Hello World
Hello World The smallest React example looks like this: ReactDOM.render( <h1>Hello, world!</h1>, document.getElementById('root') ); It…
Vuejs
August 18, 2018
Enter/Leave & List Transitions
Transition cho enter/leave & danh sách Để tiện đối chiếu giữa các class CSS mà…
Vuejs
August 18, 2018
Installation
Khả năng tương thích Do sử dụng một số tính năng ECMAScript 5 không được…
Vuejs
August 18, 2018
Class and Style Bindings
Một nhu cầu thường gặp khi thực hiện ràng buộc dữ liệu (data binding) là…
Reactjs
August 18, 2018
MAIN CONCEPTS: Composition vs Inheritance
Composition vs Inheritance React has a powerful composition model, and we recommend using composition instead…
Reactjs
August 18, 2018
API REFERENCE: Shallow Renderer
Shallow Renderer Importing import ShallowRenderer from 'react-test-renderer/shallow'; // ES6 var ShallowRenderer = require('react-test-renderer/shallow'); // ES5…
Reactjs
August 18, 2018
ADVANCED GUIDES: Typechecking With PropTypes
Typechecking With PropTypes Note: React.PropTypes has moved into a different package since React v15.5. Please use theprop-types library…
Reactjs
August 18, 2018
ADVANCED GUIDES: Forwarding Refs
Forwarding Refs Ref forwarding is a technique for automatically passing a ref through a component to one…
Reactjs
August 18, 2018
ADVANCED GUIDES: Context
Context Context provides a way to pass data through the component tree without having to…