Coder Social home page Coder Social logo

ceall8650 / learn-react-from-hook-realtime-weather-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pjchender/learn-react-from-hook-realtime-weather-app

0.0 1.0 0.0 4.54 MB

Home Page: https://pjchender.github.io/learn-react-from-hook-realtime-weather-app/

HTML 3.12% CSS 1.08% JavaScript 95.81%

learn-react-from-hook-realtime-weather-app's Introduction

【從 Hooks 開始,讓網頁 React 起來】台灣好天氣 - 臺灣即時天氣 App 🇹🇼

create-react-app 更新異動

create-react-app 在 v4 版本的 API 有變更,建立專案時請以下述指令執行,才會開啟 Progressive Web App 的功能:

# <my-app> 請換成專案想取的名稱
npx create-react-app <my-app> --template cra-template-pwa

進一步的說明請參考 CRA 建立專案方式異動

emotion 更新異動

在 emotion 11 中,將原本的套件名稱從 @emotion/core 改為 @emotion/react,並將 emotion-theming 這個套件整併到 @emotion/react 內。因此在安裝 emotion 時,可將指令修改為:

# 安裝 emotion11
npm install @emotion/react @emotion/styled

進一步的說明請參考 emotion 安裝方式異動

補充連結

學習 React 前可以閱讀

React 相關

Styled Components 相關

部署屬相關

其他

版權宣告

learn-react-from-hook-realtime-weather-app's People

Contributors

pjchender avatar

Watchers

 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.