อยากเริ่มเขียนเว็บด้วย React แบบคนอื่นบ้าง แต่ไม่รู้จะเริ่มต้นยังไงดี ? 😖
.
ไม่ต้องกังวลไป...เพราะวันนี้แอดสรุปมาให้แล้วจ้า กับสิ่งที่ต้องรู้ก่อนจะเริ่มต้นใช้ Library ที่ช่วยในการเขียนเว็บแอปพลิเคชันอย่าง React
.
มีอะไรต้องรู้บ้าง ? หากพร้อมแล้วไปดูกันเลย ~
.
🌟 พื้นฐาน HTML CSS JavaScript
.
ก่อนอื่นเราต้องมาสำรวจตัวเองก่อนว่าเราเข้าใจพื้นฐานพวกนี้แล้วหรือยัง ถ้ายังไม่เข้าใจ ควรจะไปศึกษาให้เข้าใจอย่างถ่องแท้ก่อนนะ ส่วนพื้นฐานที่แอดพูดถึงก็มีดังนี้
.
🔸 HTML เช่น HTML Element, Form, Table, และ Div เป็นต้น
🔸 CSS เช่น Styling, CSS Selectors และ Box Model
🔸 JavaScript เช่น variables, Conditional Statements, Loops, Data Types, และ DOM เป็นต้น
.
✨ NPM
.
รู้จักการใช้งาน NPM ซึ่งเป็นเครื่องมือที่ช่วยในการติดตั้ง อัปเดต กำหนดค่าต่าง ๆ และรันคำสั่งบางอย่างผ่าน Terminal เพื่อใช้งานคำสั่ง และ Library บนโปรเจกต์ React ของเรานั่นเอง
.
อ่านวิธีการใช้งานเพิ่มเติมได้ที่นี่ 👇
Link : https://www.npmjs.com/
.
✨ React Concept
.
เมื่อเราเรียนรู้พื้นฐานและฝึกฝนจนเชี่ยวชาญแล้ว ขั้นตอนต่อมาเราก็จะต้องเรียนรู้และทำความเข้าใจโครงสร้างและการทำงานของ React เช่น
.
🔹 Create React App - เป็นการตั้งค่าสภาพแวดล้อมและเครื่องมือต่าง ๆ ให้เหมาะสมกับการพัฒนาโปรเจกต์บน React เพื่อให้เราสามารถใช้คุณสมบัติของ JavaScript ได้อย่างเต็มประสิทธิภาพนั่นเอง !
.
อ่านวิธีการติดตั้งแบบเต็ม ๆ ได้ที่นี่ 👇
📑 https://reactjs.org/docs/create-a-new-react-app.html
.
🔹 JSX - เป็นส่วนเสริมของ JavaScript ที่ทำให้เราสามารถจัดการกับ UI ใน React ได้อย่างง่ายดาย ซึ่งจะมี Syntax คล้าย ๆ กับ HTML
.
สามารถอ่านเรื่อง JSX แบบเต็ม ๆ ได้ที่นี่ 👇
📑 https://reactjs.org/docs/introducing-jsx.html
.
🔹 Virtual DOM - เป็นตัวที่ช่วยจัดการ Object และ Element ต่าง ๆ บน React เปรียบเสมือนพิมพ์เขียวของ DOM ถ้าหากมีการแก้ไขหรือเปลี่ยนแปลง Object บน React มันก็จะไม่กระทบกับ DOM ทั้งหมด เพราะมันจะเปลี่ยนแปลงเฉพาะ Object ที่มีการอัปเดตเท่านั้น ทำให้การแสดงผลมีความรวดเร็วมากขึ้นนั่นเอง
.
สามารถอ่านเรื่อง Virtual DOM แบบเต็ม ๆ ได้ที่นี่ 👇
📑 https://reactjs.org/docs/faq-internals.html
.
🔹 Props & State - Props (Properties) เปรียบเสมือนแท็กใน HTML เช่น src, href, หรือ class แต่ความพิเศษของมันก็คือทำให้ React Component สามารถส่งค่าต่าง ๆ ระหว่างกันได้ ส่วน State จะแตกต่างกับ Props เพราะมันจะเป็นการเก็บค่าเพื่อใช้ใน Component นั้น ๆ เท่านั้น
.
สามารถอ่านเรื่อง Props & State แบบเต็ม ๆ ได้ที่นี่ 👇
📑 https://reactjs.org/docs/faq-state.html
.
🔹 Conditional Rendering - เป็นการแสดงผล Element ต่าง ๆ บน UI แบบมีเงื่อนไขนั่นเอง โดยใช้ตัวดำเนินการใน JavaScript เช่น if...else เป็นต้น
.
สามารถอ่านเรื่อง Conditional Rendering แบบเต็ม ๆ ได้ที่นี่ 👇
📑 https://reactjs.org/docs/conditional-rendering.html
.
🔹 React Hook - เป็น Functions เจ๋ง ๆ ใน React ซึ่งเป็นฟีเจอร์ใหม่ที่มีใน React v16.7.0-alpha -ข้อดีของมันก็คือทำให้เราสามารถเรียกใช้ State ต่าง ๆ ใน React แบบไม่ต้องเขียน Class ให้เมื่อยมือ! เป็นการเพิ่มคุณสมบัติของ Component ไม่ว่าจะ Test หรือ Refactor ก็ทำได้ง่าย ๆ
.
สามารถอ่านเรื่อง React Hook แบบเต็ม ๆ ได้ที่นี่ 👇
📑 https://reactjs.org/docs/hooks-intro.html
.
✨ API
.
เรียนรู้โครงสร้าง และวิธีการดึงข้อมูลจาก API โดยต้องเข้าใจการใช้งานฟังก์ชันใน JavaScript เพื่อช่วยในการดึงข้อมูลและนำมาใช้ภายในโปรเจกต์ หรืออาจจะใช้เครื่องมืออย่าง Axios ซึ่งเป็นอีกหนึ่ง Library ยอดนิยมที่ช่วยให้เราดึงข้อมูลจาก API ได้อย่างง่ายดาย !
.
เพื่อน ๆ สามารถอ่านวิธีการใช้งาน Axios ได้ที่นี่ 👇
Link : https://www.npmjs.com/package/axios
.
✨ Server-side Rendering
.
รู้จักการใช้งานเครื่องมือที่ช่วยในการแสดงผลฝั่ง Server เช่น Next.js, After.js, Rogue ซึ่งเหล่า React Dev ส่วนใหญ่จะนิยมใช้เจ้า Next.js เพราะใช้งานง่าย ไม่ต้อง Config อะไรเพิ่มเติมและช่วยให้เราสามารถเขียนเว็บได้สะดวก รวดเร็วมากขึ้นนั่นเอง !
.
✨ Styling UI
.
ใช้แนวคิด CSS มาช่วยให้เราออกแบบ วาง Layout และจัดองค์ประกอบบนหน้าเว็บไซต์ ซึ่งในปัจจุบันก็มีเครื่องมือต่าง ๆ ที่จะช่วยให้เราเขียน CSS ได้ง่ายมากขึ้น ไม่ว่าจะเป็น Material UI และ TailwindCSS นั่นเอง
.
และเมื่อเราได้เรียนรู้ทุกหัวข้อที่แอดกล่าวมาแล้ว เราก็เริ่มต้นทำโปรเจกต์ React กันได้เลย !! ซึ่งทางทีมแอดเคยทำสรุปการใช้งาน React ไว้ให้แล้ว หากสนใจสามารถกดเข้าไปอ่านกันได้เลย ~
📑 Link : https://www.borntodev.com/2020/07/15/react-101/
.
หวังว่าจะเป็นประโยชน์กับเพื่อน ๆ ที่กำลังเริ่มต้นเขียน React นะ หากชอบเนื้อหานี้ อย่าลืมกดไลก์ กดแชร์ เพื่อเป็นกำลังใจให้พวกเราด้วยล่ะ 😁
.
borntoDev - 🦖 สร้างการเรียนรู้ที่ดีสำหรับสายไอทีในทุกวัน
#React #javascript #ฺBorntoDev
同時也有1部Youtube影片,追蹤數超過300的網紅Wui Kathy,也在其Youtube影片中提到,Mouse mommy received a surprise from Wiggle Boks! First impression of mouse mommy receiving this Boks is the go green packaging with recyclable box th...
「css if」的推薦目錄:
- 關於css if 在 BorntoDev Facebook 的最讚貼文
- 關於css if 在 卡斯伯 Facebook 的精選貼文
- 關於css if 在 Vietcetera Facebook 的最佳貼文
- 關於css if 在 Wui Kathy Youtube 的精選貼文
- 關於css if 在 Can you use if/else conditions in CSS? - Stack Overflow 的評價
- 關於css if 在 Sass - 前端工程師應該要會的工程化CSS - @if、@else if 的評價
- 關於css if 在 Outlook conditional CSS - Stacks 的評價
- 關於css if 在 New CSS Units! Query units explained - YouTube 的評價
- 關於css if 在 linkedin-skill-assessments-quizzes/css-quiz.md at main - GitHub 的評價
css if 在 卡斯伯 Facebook 的精選貼文
純 CSS
透過 Hover 才會顯示的 Scrollbar
css if 在 Vietcetera Facebook 的最佳貼文
𝐉𝐨𝐛 𝐃𝐞𝐬𝐜𝐫𝐢𝐩𝐭𝐢𝐨𝐧:
As a FE Developer, you will be working with Designers to implement UI/UX and support development of products as requested. We are looking for someone who is hard-working, has a strong willingness to learn new tech stack and fluent in English.
Please scroll to the end to see the Application Process.
Probation Period: 2 months
𝐑𝐞𝐪𝐮𝐢𝐫𝐞𝐦𝐞𝐧𝐭𝐬:
- 2+ years of experience with modern front-end development.
- Familiar with Agile development process, esp. Scrum framework
- Proficiency in JavaScript and CSS and an understanding of how web technologies work.
- React: component-based architecture is what you must know to get things done in the right way.
- Familiarity with working with REST API.
- Have experience working with search engine optimization (SEO)
- A Linux or Mac user is a huge plus.
Our tech stacks:
- React & Redux
- Next.js as a framework for server side rendering
𝐀𝐛𝐨𝐮𝐭 𝐲𝐨𝐮:
- Team player
- Quick learner
- Excellent communication & documentation skills
- Excellent time management
- Good English skill is a plus
𝐁𝐞𝐧𝐞𝐟𝐢𝐭𝐬:
- Competitive base salary + 13th month-salary
- Subsidised healthcare
- Dynamic and active work environment
- Catered lunch from Monday to Thursday.
- Opportunity to build a product from the ground up that will reach tens of millions of Vietnamese, other countries in Southeast Asia, and globally
- Access to meet and collaborate with experts and brands; just take a look at the content on Vietcetera to see for yourself!
🕧 Working time: from Monday – Friday, from 9.00 a.m. to 6.00 p.m.
🌐 Work location: Centec Tower, Ground Floor, 72 Nguyen Thi Minh Khai, District 3, Ho Chi Minh City.
𝐀𝐩𝐩𝐥𝐢𝐜𝐚𝐭𝐢𝐨𝐧 𝐏𝐫𝐨𝐜𝐞𝐬𝐬: Send your CV, with the subject "[Full-Time] FE Developer" to careers@vietcetera.com
If your CV passed our screening, we will send you 02 technical tests. You must pass these tests to be qualified for our interview round.
Thank you for your interest and we can't wait for you to be part of the team!
css if 在 Wui Kathy Youtube 的精選貼文
Mouse mommy received a surprise from Wiggle Boks! First impression of mouse mommy receiving this Boks is the go green packaging with recyclable box that allow me to reuse it to store baby items or shoes. Good for environment.
.
.
What is Wiggle Boks? Basically, it is a surprise Boks for babies ages 0-24months. Every month Wiggle Boks will send us a surprise Boks for mom and baby once subscribed done.
.
.
Hmm… Let’s see what the contents inside mouse mommy’s Wiggle Boks are.
.
.
If you are interested to purchase a Wiggle Boks, can click this link to purchase it. Mouse mommy is also happy to share a 20% off code for either first month subscription or six month subcription of Wiggle Boks. [ Code : MOUSEMT20 ]
.
.
Happy parenting!
.
.
#WiggleBoks #mom #baby #monthly #subscription #giftbox #mousemommytreats #parentingblogger #mom #influencer #ibuencer2018 #pblogger #surprise #gift #thankyou #newborn #organic #quality #babyproducts #instagift

css if 在 Sass - 前端工程師應該要會的工程化CSS - @if、@else if 的推薦與評價
CSS, Sass/SCSS. 要真正發揮Sass 工程化的特性必定不能缺少的就是它提供的一系列表達式控制命令,像是if 判斷、遍歷迴圈、自訂function 等等,這些 ... ... <看更多>
css if 在 Outlook conditional CSS - Stacks 的推薦與評價
We can use MSO (Microsoft Office) tags to add HTML / CSS anywhere in an email ... But sometimes when testing emails in Litmus, an email looks ok in one ... ... <看更多>
css if 在 Can you use if/else conditions in CSS? - Stack Overflow 的推薦與評價
... <看更多>
相關內容