vnex
V2EX  ›  问与答

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

  •  
  •   vnex · Jun 7, 2020 · 1514 views
    This topic created in 2170 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   ·   5626 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 121ms · UTC 03:52 · PVG 11:52 · LAX 20:52 · JFK 23:52
    ♥ Do have faith in what you're doing.