Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Tips / React

React

React.js https://blog.usejournal.com/you-probably-shouldt-be-using-react-2f45ca487c8e https://medium.com/@redixhumayun/how-to-customize-service-workers-with-create-react-app-4424dda6210c https://medium.com/@rossbulat/how-to-use-react-refs-4541a7501663 https://medium.com/@kashyap.mukkamala/overview-of-proxy-server-and-how-we-use-them-in-react-bf67c062b929 https://medium.com/@nathansebhastian/how-to-set-up-deploy-your-react-app-from-scratch-using-webpack-and-babel-a669891033d4

resources-for-front-end-developers-thoughts-on-angular-react-redux-node-and-git create-a-timeline-component-with-react Email Confirmation with React architecting-your-react-application your-react-components-are-doing-too-much Complete React Boilerplate Tutorial from Zero to Hero how-to-build-your-own-react-boilerplate

three-example-react-stacks

Best Time to npm init

Simplest React Stack State and Props

learning-react-in-2-nights-after-years-of-working-with-angular https://medium.freecodecamp.org/the-react-handbook-b71c27b0a795 https://blog.bitsrc.io/the-love-hate-relationship-between-react-router-and-react-components-dee4aac5956c https://medium.com/@Charles_Stover/react-suspense-with-the-fetch-api-cc655aced759 https://medium.com/@jlsnyder09/how-to-use-react-to-display-nasas-astronomy-picture-of-the-day-283c01ff9e31 https://medium.com/@kurtwanger40/understanding-fragments-in-react-a1b6e534b01a https://medium.com/@karthikkalyanaraman/arrow-functions-are-disrupting-react-components-63662d35f97b https://medium.com/@peterchang_82818/javascript-es7-async-await-%E6%95%99%E5%AD%B8-703473854f29-tutorial-example-703473854f29 https://developer.mozilla.org/zh-TW/docs/Web/JavaScript/Reference/Statements/async_function https://medium.com/@alexmaisiura/tips-and-tricks-that-you-may-need-to-know-when-you-work-in-javascript-q-a-799ce3c4b4d2 https://medium.com/@jdmedlock/exploit-react-error-boundaries-to-improve-ux-8e1b18faa5ab Building a Reusable Component System with React.js and styled Components Structuring projects and naming components in React

可在 app.js 檔案裡輸入下列 JSX 內容,這是一種 JavaScript 擴充語言,介於 JS 與 HTML 之間,要先經過 JSX Compiler 編譯過,才能被瀏覽器讀取:

const h1 = <h1>Hello World</h1>;

其中 <h1>Hello World</h1> 稱為 JSX Element。

Learn React - Crash Course 2019 - React Tutorial with Examples | Mosh 41:10 動態 imageUrl

三分鐘入門教學

Router vs Component: 同一個網址但不同參數 location.search= ?tags=Dress or ?tags=Bag Compound Components react navigation and navigators in react native Parcel JS and React Form Elements: onChange, defaultValue, defaultChecked

run React Native components and APIs on the web using React DOM

Flex Basic Difference Between Android and iOS Layout Weather View Grid Example React UI Component Playground

ipad Scaling SplitView Dimension issue Two Column Layout Optimistic UI

Gatsby: site generator multiple post type

Progress Bar with Redux four-ways-to-style-react-components

Cache Performance Firebase Simple Chat deploy-react-js-app-on-firebase

Jenkins Build Docker get-started-with-layouts

Component State Management: Redux => React Context API

Tips for Google Maps

Formik Field Arrays Todo App with Mobx-State-Tree

Hooks API dynamically-animating-elements-one-after-the-other setting-up-typescript-in-your-react-app  Building Todo App with Hooks

Why Hooks

testing-react-firebase-apps-with-cypress

dynamic-programming-finding-optimal-paths
how-to-use-react-lazy-and-suspense-for-components-lazy-loading
building-a-consistent-ui-design-system
https://medium.com/javascript-in-plain-english/i-created-the-exact-same-app-in-react-and-vue-part-2-angular-39b1aa289878
https://medium.com/@JonathanSaring/9-react-static-site-generators-for-2019-f54a66e519d2
https://medium.com/@heyamberwilkie/force-refreshing-a-react-child-component-the-easy-way-6cdbb9e6d99c
https://medium.com/@jonathanjholloway/conways-game-of-life-implemented-in-react-without-using-canvas-by-jonathan-jamel-holloway-cd150ede5283
https://medium.com/@joomiguelcunha/amazing-react-animation-with-react-pose-3b67d9eb6e07
learn-react-js-in-5-minutes Using HTML5 Canvas with React

No-boilerplate global state management 應用程式規模變大時,通常會導入 MobX 或 Redux 之類的狀態管理工具,但有人抱怨它們帶來 Boilerplate 和 Learning Curve 兩大困擾。React 本身就有 this.state 和 this.setState 內建工具,新的 useState 是 hook。