Lập trình React.JS
Bình thường

Lập trình React.JS

Tổng quan
Chương trình học
  • 5 mục
  • 9 bài học
  • 1 bài trắc nghiệm
  • 9h 20m thời lượng
Đóng tất cả
React Router and Single Page Applications
2 bài học
React Forms, Flow Architecture and Introduction to Redux
3 bài học
More Redux and Client-Server Communication
1 bài học
Quiz
1 bài trắc nghiệm

These days there are lot of programing languages to learn and front-end developing has been in the next level these days.

Today under Programming course we are providing React.js course.

React (also known as React.js or ReactJS) is a free and open-source front-end JavaScript library[3] for building user interfaces or UI components. It is maintained by Facebook and a community of individual developers and companies.[4][5][6] React can be used as a base in the development of single-page or mobile applications. However, React is only concerned with state management and rendering that state to the DOM, so creating React applications usually requires the use of additional libraries for routing, as well as certain client-side functionality.[7]

The following is a rudimentary example of React usage in HTML with JSX and JavaScript.

<div id="myReactApp"></div>

<script type="text/babel">

function Greeter(props) {

return <h1>{props.greeting}</h1>;

}

let App = <Greeter greeting="Hello World!" />;

ReactDOM.render(App, document.getElementById('myReactApp'));

</script>

The Greeter function is a React component that accepts a property greeting. The variable App is an instance of the Greeter component where the greeting property is set to ‘Hello World!’. The ReactDOM.render method then renders our Greeter component inside the DOM element with id myReactApp.

When displayed in a web browser the result will be

<div id="myReactApp">

<h1>Hello World!</h1>

</div>

Xóa đánh giá khóa học

Bạn có chắc chắn? Bạn không thể khôi phục thao tác này.

Course Access

Khóa học được bảo vệ bằng mật khẩu. Để truy cập hãy nhập mật khẩu:

Khóa học liên quan

Dễ
Trực tuyến

Lập trình Python cho trẻ em

10 bài học lý thuyết

05 dự án thực tế

Chứng chỉ khóa học

16
Bình thường

Lập trình Scratch

Trẻ em 6-11 tuổi

20 buổi học trực tuyến

05 dự án thực tế

9h 30m
24
Scroll to top