ReactJS 教學系列影片筆記
本篇是參考 ReactJS Tutorial 的重點摘錄學習筆記。內容著重於 React 16.8 以前沒有 Hooks 時,以 Class Component 為主的教學。
閱讀前具備知識:
- 基礎網頁前端 (HTML、CSS、JS) 知識
- 基礎 ReactJS 知識
本篇是參考 ReactJS Tutorial 的重點摘錄學習筆記。內容著重於 React 16.8 以前沒有 Hooks 時,以 Class Component 為主的教學。
閱讀前具備知識:
The following notes are pain points that I encountered when I was doing my job. Listed all of them to remember them and also hope I can help someone who also comes across this issue.
To understand CROSS APPLY in MS SQL Server with extensive list of examples, I create two simple tables with sample data as the followings. The script of creating the tables is here.
To understand OUTER APPLY in MS SQL Server with extensive list of examples, I create two simple tables with sample data as the followings. The script of creating the tables is here.
Create demo tables.
SQL stands for Structured Query Language, as it is the special purpose domain-specific language for querying data in Relational Database Management System (RDBMS).
Microsoft SQL Server, MySQL, Oracle, etc. use SQL for querying with slight syntax differences.
JavaScript 的兩大型別:原始型別 (Primitive type) 及參考型別 (Reference type) 中,參考型別就是 Object 型別。Object {}、Array []、Function () 都是物件型別。
先來認識我們一般認知上由 {} 組成的物件。
基本上是跟自動聊天機器人是一樣的。
主要是因為我自己要發送連結到各個頻道的時候一直找不到 shill 專區,花了很多時間很生氣。所以參考了 [零基礎上手] Discord 自動發言機器人 和 CryptoWilson / 威虎社 WTC 板友 leosoqq 大大的自動抽獎機器人,寫了一個自動發送連結機器人。
在 JavaScript 中,在「需要判斷的情境」下,一個真值 Truthy的值,就會被認為是 true,除非他們被定義假值 Falsy。而被定義假值 Falsy 的有:false、0、-0、0n、""、null、undefined 和 NaN。其餘為真值 Truthy,例如:"false"。
不要跟寬鬆相等、嚴格相等弄混淆。
JavaScript 是弱型別的語言,容忍隱性的型別轉換,因此允許不同型別之間的比對 (包含 =、>、<)。
寬鬆相等 == 比對兩者型別轉換後的值、嚴格相等 === 比對兩者的型別和值。