vnex
V2EX  ›  问与答

react native 有没有必要添加一个抽象层(在 ImageView, 以及 Flatlist 之上)

  •  
  •   vnex · Jun 7, 2020 · 1543 views
    This topic created in 2190 days ago, the information mentioned may be changed or developed.

    方便后续的优化调整

    const XImageView = (props) => {
    	return (
        	<ImageView {...props} />
        )
    }
    
    const XFlatlist = (props) => {
    	return (
        	<Flatlist {...props} />
        )
    }
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2898 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:49 · PVG 21:49 · LAX 06:49 · JFK 09:49
    ♥ Do have faith in what you're doing.