個人部落格

Avatar of 張育誠.
Avatar of 張育誠.

個人部落格

Changhua County, Taiwan
當初在練習React的時候,先嘗試寫了class component的方式,因為是類別所以很多方法要一直加this還有render,另外生命週期也是要多寫四個function,後來新的hook出來以後,全部簡化程式並且在搭配redux以後架構更為簡潔好懂,生命週期也只要用一個useEffect就全部解決,此方式是全用React hook開發出具有CRUD功能的部落格,並且加上sweetalert2的設計讓介面活潑許多,另外搭配heroku架設後台nodejs以及mongoDB cloud資料庫,成功打造一個MERN的應用。 頁面連結:<a href="https://rockchang.000webhostapp.com/testweb/#/"> Demo without backend</a>;<a href="https://rockchang.000webhostapp.com/newblog/#/">Demo with backend</a> Github:<a href="https://github.com/xiu43317/NewBlog">我的Blog</a>帳號:Rock 密碼:1234
Avatar of the user.
Please login to comment.

Published: Dec 12th 2020
78
8
0

Heroku
Mongoose
Express.js
Node.js
MongoDB
Redux
fontawesome
bootstrap4
HTML5
SCSS
JavaScript
React.js

Share