2019年4月2日 星期二

React: Refs


  • Gives access to a single DOM element
  • Create refs in the constructor, assign them to instance variables, then pass to a particular JSX elements as props.

沒有留言:

張貼留言

Git: How to clone only part of the repo (specific directory)

 https://stackoverflow.com/a/60729017/5721873