Không gì dễ hơn việc học bằng các ví dụ thực tế, nhất là đối với việc lập trình React Native. Giới thiệu với các bạn một nơi để học React Native qua ví dụ trong 30 ngày, sau khi hoàn thành xong các ví dụ này đảm bảo bạn sẽ trở nên chuyên nghiệp với React Native. Tuy nhiên, nếu bạn không có thời gian, chỉ cần nhìn lướt qua các ví dụ của từng ngày, sẽ gợi cho bạn những chức năng của ứng dụng mà bạn phát triển.

BẮT ĐẦU 30 NGÀY

NGÀY 1

Đồng hồ bấm giờ iOS, chức năng đầy đủ như ứng dụng gốc
day1

NGÀY 2

Ứng dụng thời tiết
day2

NGÀY 3

The Twitter app entrance animation.
day3

NGÀY 4

Using CocoaPods with React Native.
An example with JTSImageViewController.
Reference: https://shift.infinite.red/beginner-s-guide-to-using-cocoapods-with-react-native-46cb4d372995#.z6ooi3o0t
day4

NGÀY 5

MapView and find Geo location.
day5

NGÀY 6

Spotify welcome screen/
day6

NGÀY 7

Pan gesture basic. Move a baseball around.
day7

NGÀY 8

Google map style swipe menu
day8

NGÀY 9

Layout of Twitter user page
day9

NGÀY 10

Tumblr menu animation
day10

NGÀY 11

Using OpenGL with React native
Reference: https://github.com/ProjectSeptemberInc/gl-react-native
day11

NGÀY 12

Charts with React native
Reference: https://github.com/tomauty/react-native-chart
day12

NGÀY 13

A tweet UI
day13

NGÀY 14

A tinder swipe
Reference:https://github.com/meteor-factory/react-native-tinder-swipe-cards
day14

NGÀY 15

A time picker
day15

NGÀY 16

Unlock with gesture
Reference:https://github.com/spikef/react-native-gesture-password
day16

NGÀY 17

Native search bar and Fuzzy search
Reference:https://github.com/umhan35/react-native-search-bar
day17

NGÀY 18

Sortable. drag and reorder the blocks.
day18

NGÀY 19

Unlock app with touchID
Reference:https://github.com/naoufal/react-native-touch-id
day19

NGÀY 20

Sigle page Reminder
day20

NGÀY 21

Multi page Reminder
day21

NGÀY 22

Google Now
day22

NGÀY 23

Local WebView An example using D3.js
day23

NGÀY 24

Youtube scrollable tab
Reference: https://github.com/brentvatne/react-native-scrollable-tab-view
day24

NGÀY 25

Custome in-app browser
Reference: https://github.com/d-a-n/react-native-webbrowser
day25

NGÀY 26

Swipe and Switch
day26

NGÀY 27

iMessage Gradient. The chat bubble changes its gradient color with its pageY.
Reference: https://github.com/brentvatne/react-native-linear-gradient
day27

NGÀY 28

iMessage Image Picker.
day28

NGÀY 29

Quick action with 3D Touch. Quick action on launching days.
day29

NGÀY 30

Push Notification.
day30

THỰC HIỆN

BƯỚC 1

Repo: https://github.com/fangwei716/30-days-of-react-native
Fork repo

BƯỚC 2

Pull về và chạy cài đặt các gói cần thiết “npm install”

BƯỚC 3

ANDROID

Chạy lệnh
react-native run-android

IOS

Dùng XCode mở ios/ThirtyDaysOfReactNative.xcworkspace
Các công đoạn này khá đơn giản nên không cần nói nhiều. Điều quan trọng qua bài viết này mình nghĩ chỉ cần nhìn hình demo, và mở mã nguồn ra tham khảo, việc build cái ứng dụng này cũng không cần thiết lắm

Bạn muốn học lập trình hãy liên hệ ngay với Mỹ Vân để được nhận ưu đãi từ học viện nhé
Học lập trình tại Đà Nẵng
Học lập trình tại Đà Nẵng 0935029202
Số tài khoản : 56110000942174 BIDV Chi nhánh Đà Nẵng
HUYNH THI MY VAN