typyscript

Take the course Understanding TypeScript from Udemy

前端一些小知识

html5

  • 在html上作出新的特性,加入canvas,媒介回放的video和audio元素,对离线储存更好地支持,新的特殊内容元素,和新的表单控件(calendar、date、time、email、url、search)

前端一些小知识

image

usemap in can use map property by id and name

react-native

mobx -> state management library
mobx-react-lite allows to work with hook

Js

alert()

alert object, need to JSON.stringify(object) first

Redux

why do we use redux in react?

Many components in react are organized by hierarchy. There is main component as repository for the state of app, so other components

Redux Thunk

redux-thunk

As redux middleware to run the code after action is dispatched, before it reaches to the reducer.

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×