Giter Site home page Giter Site logo

mysocialcool's Introduction

Learn Social-cool app

Learning Resource

Dev tools

  • VSCode
  • nodejs-lts 20.10.0
  • npm 10.2.3
  • React.js
  • Firebase
    • Firestore : 發表文章、文章主題、留言、按讚、收藏
    • Storage : 文章圖片、會員頭像
    • Authentication : 會員註冊、會員登入、會員資料
    • Hosting : 網站部屬
    • Extensions : 留言通知(Email)、文章搜尋(Algoliz)
  • Semantic UI React
  • JSX

cmd

  • $ npm init -y
  • $ npm install react-scripts react react-dom
    • react : "18.2.0"
    • react-dom : "18.2.0"
    • react-scripts : "5.0.1"
  • $ npm start
    • "start": "react-scripts start"
    • 有即時監聽的功能
  • $ npm install semantic-ui-react semantic-ui-css react-router-dom

Notes

  • React 是單頁式應用程式(single-page application, SPA),只會有一個 html 檔案。
  • React.Component
  • 須在 App.js 中使用 BrowserRouter 元件 ,之後才能在 Header.js 中使用 Link 元件。
  • Code formatting in VSCode
    1. Windows : Shift + Alt + F
    2. Linux : Ctrl + Shift + I
    3. Mac : Shift + Option + F
  • In react-router-dom v6, "Switch" is replaced by routes "Routes".

Others

  • 快速建立新的 React 專案的命令
    1. npx create-react-app my-react-app
    2. cd my-react-app
    3. npm start

mysocialcool's People

Contributors

kellsping 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.