SlideShare a Scribd company logo
提報人:林宗敬 Crab
報告日期:2016.07.29(五)
React
2/18
React ?
2016/07/08(五)
3/18
What is React ?
•Open-sourced by Facebook mid 2013
•A JavaScript library for building User
Interfaces
•Support Website and Native App
2016/07/08(五)
4/18
Who use React ?
2016/07/08(五)
Over 100+ App or Web
5/18 2016/07/08(五)
Photo from @jwcarrol
6/18 2016/07/08(五)
React + FLux Angular 2.0 (1.0) Ember 2.0
Size Concerns 132 k 556 k 427 k
2 way binding NO YES YES
StackOverflow Questions 6.1 k 127 k 16.9 k
GitHub Contributors 531 158 (1331) 536
Easy to Test YES YES NO
ES2015 Support YES YES NO
Browser Support IE8 + IE8 + IE8 +
Mobile Native YES YES NO
Support by Facebook Google …
MVC View (UI) MVW, MVVM, MVC
(Full)
NO
7/18
M V C
2016/07/08(五)
model view controller
only cares about the UI !
8/18
Data
{
name: ”Crab”
}
2016/07/08(五)
Render
<div>
<span>Crab</span
>
</div>
Component
<div>
<span>{????}</spa
n>
</div>
Data
{
name: ”Crab”
image:
“picture.jpg”
}
Render
<div>
<img
src=“picture.jpg” />
<span>Crab</span
>
</div>
Component
<div>
{????}
<span>Crab</span
>
</div>
9/18
Using React.js
2016/07/08(五)
10/18
Server-side Support
•Node.js
•C# .NET
•ASP.NET MVC 3+
•ASP.NET Core
•Nashorn JVM, Rails, Php
2016/07/08(五)
11/18 2016/07/08(五)
How to use it ?
12/18
Step by Step (1 / 3)
•Select your Project
•Use NuGet Package Manager Console
•Add react.js
2016/07/08(五)
> Install-Package React.Web.Mvc4
> Install-Package react.js
13/18
Step by Step (2 / 3)
•BundleConfig.cs *
• ASP.NET Bundling and Minification
2016/07/08(五)
> Install-Package System.Web.Optimization.React
bundles.Add(new ScriptBundle("~/bundles/react")
.Include("~/Scripts/react/react.js",
"~/Scripts/react/react-dom.js"));
bundles.Add(new BabelBundle("~/bundles/homeClient")
.Include("~/Scripts/jsx/Components/HelloTime.jsx",
"~/Scripts/jsx/View/HomeClientRendering.jsx"));
14/18
Step by Step (3 / 3)
•Hello.jsx
•index.cshtml
2016/07/08(五)
var Hello = React.createClass ({
render () {
return (<div>
<h2><span>Hello,<b>everyone!</b></span></h2>
</div>);
}
});
ReactDOM.render(<Hello />, document.getElementById('Demo'));
15/18 2016/07/08(五)
DEMO
16/18
Reference & Supplement
•Main
• React.js
• ReactJS.Net
•Others information
• Who is using React
• React Slideshow
• Angular2 vs React
• Angular vs React vs Ember
• Angular vs React
2016/07/08(五)
17/18 2016/06/13(一)
Thank you !
18/18

More Related Content

PDF
Why angular?
PDF
React js vs angularjs
PDF
React vs Angular, who wins the competition?
PDF
The Status of Angular v13
PPTX
Angular vs react vs vue
PDF
Igor Liska - Continuous Integration
PDF
From Commit to Cloud w/ GitLab and PDF
PDF
和艦長一起玩轉 GitLab & GitLab Workflow
Why angular?
React js vs angularjs
React vs Angular, who wins the competition?
The Status of Angular v13
Angular vs react vs vue
Igor Liska - Continuous Integration
From Commit to Cloud w/ GitLab and PDF
和艦長一起玩轉 GitLab & GitLab Workflow

What's hot (7)

PPTX
React vs angular what to choose for your app
PPTX
React tech talk @ CMU
PPTX
Universal Bridges in Windows 10
PDF
CreateJSの概要 + Animate CC 2018の新機能
PPTX
GitLab 8.5 Highlights and Step-by-step tutorial
PPTX
Android instant app
PDF
Bootiful Development with Spring Boot and Vue - Devnexus 2019
React vs angular what to choose for your app
React tech talk @ CMU
Universal Bridges in Windows 10
CreateJSの概要 + Animate CC 2018の新機能
GitLab 8.5 Highlights and Step-by-step tutorial
Android instant app
Bootiful Development with Spring Boot and Vue - Devnexus 2019
Ad

Similar to ReactJS.net (20)

PDF
React - The JavaScript Library for User Interfaces
PDF
Intro to react_v2
PDF
Introduction to ReactJS
PDF
Reactive web
PDF
React in Action ( PDFDrive ).pdf
PDF
I Heard React Was Good
PPTX
React.js at Cortex
PDF
React Tech Salon
PPTX
Progressive Web Apps and React
PDF
Ryan Christiani I Heard React Was Good
PDF
Learning React js Learn React JS From Scratch with Hands On Projects 2nd Edit...
PDF
MidwestJS 2014 Reconciling ReactJS as a View Layer Replacement
PDF
Reconciling ReactJS as a View Layer Replacement (MidwestJS 2014)
PDF
React Conf 17 Recap
PDF
Introduction to React JS
PDF
The Web Becomes Graceful
PDF
ReactJS for Programmers
PDF
Render-as-You-Fetch
PDF
3 Reasons to Love React
PPTX
ReactJS.NET - Fast and Scalable Single Page Applications
React - The JavaScript Library for User Interfaces
Intro to react_v2
Introduction to ReactJS
Reactive web
React in Action ( PDFDrive ).pdf
I Heard React Was Good
React.js at Cortex
React Tech Salon
Progressive Web Apps and React
Ryan Christiani I Heard React Was Good
Learning React js Learn React JS From Scratch with Hands On Projects 2nd Edit...
MidwestJS 2014 Reconciling ReactJS as a View Layer Replacement
Reconciling ReactJS as a View Layer Replacement (MidwestJS 2014)
React Conf 17 Recap
Introduction to React JS
The Web Becomes Graceful
ReactJS for Programmers
Render-as-You-Fetch
3 Reasons to Love React
ReactJS.NET - Fast and Scalable Single Page Applications
Ad

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Electronic commerce courselecture one. Pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
cuic standard and advanced reporting.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Big Data Technologies - Introduction.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Cloud computing and distributed systems.
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Electronic commerce courselecture one. Pdf
NewMind AI Monthly Chronicles - July 2025
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
cuic standard and advanced reporting.pdf
Understanding_Digital_Forensics_Presentation.pptx
The AUB Centre for AI in Media Proposal.docx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Big Data Technologies - Introduction.pptx
A Presentation on Artificial Intelligence
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Cloud computing and distributed systems.
“AI and Expert System Decision Support & Business Intelligence Systems”

ReactJS.net

Editor's Notes

  • #4: 下列我用三個point 來特別介紹react 他是一個前端技術 是facebook 在2013推出的open-sourced 目的是使用javascript的語法去解決任何UI呈現的問題 同時他支援 web 及 native app 的撰寫開發
  • #5: Why to use React ?
  • #6: Why use React? 有其他可以用的前端 javascript lib or framework 大家可以看到上面這張圖,不管是任何地方,都會上述這兩派人馬對立 當然還有其他類似的 像 ember backbone …
  • #7: 選那個前端程式都沒有對錯,只有看那一個程式符合你的團隊跟需求
  • #9: REACT 的運行方式 資料透過 component 顯示內容 當資料多了一個圖檔,component 有判斷有圖檔時需多一個img標籤,並寫入圖片路徑 大多後端人員或已經習慣寫Angular的人都會選 Angular 因為react是新的library,而且react的寫法對前端人員較為親切,若要推薦我較promo react
  • #10: 如何使用react 看時間…
  • #11: 提供可運行的平台有三種 導入時,減少原本熟悉C#的後端人員也能參與或使用前端程式 進而增加後端人員學習前端技術的意願 故全部使用 C# 可直接運行,不用加入太多服務(ex. Node.js)
  • #12: 快速帶過 下面三個步驟 請大家自己看
  • #14: 與原生用法相同 主要是把 jsx 轉成 js 供一般瀏覽器讀取