LiuN1an

寻找好用的 react 瀑布流组件

  •  
  •   LiuN1an · Aug 17, 2023 · 2920 views
    This topic created in 1180 days ago, the information mentioned may be changed or developed.

    为什么我在 react 生态里搜索不到好用的瀑布流组件,找到的也都是固定高度的

    6 replies  •  2023-08-29 00:54:13 +08:00
    linshuizhaoying
    linshuizhaoying
    Aug 17, 2023
    1
    找 js 版本 然后自己转
    hoodjannn
    hoodjannn
    Aug 17, 2023
    2
    这种前端小库就自己写一个吧,用不了多久。
    LiuN1an
    LiuN1an
    OP
    Aug 18, 2023
    3
    @hoodjannn 功能确实是单一, 但想写好也会有些麻烦, 我只是感觉很奇怪, 为啥这么普遍的一个功能没找到一个社区贡献
    LiuN1an
    LiuN1an
    OP
    Aug 18, 2023
    4
    @linshuizhaoying 有找到一些, 但版本都很老
    shervinchen
    shervinchen
    Aug 26, 2023
    5
    https://github.com/paulcollett/react-masonry-css

    我目前找到的最轻量的库,纯 CSS 实现(如果有更复杂的需求,还是得用 JS
    LiuN1an
    LiuN1an
    OP
    Aug 29, 2023
    6
    @shervinchen 感谢大佬, 读了一下,真的很轻
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3804 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 01:38 · PVG 09:38 · LAX 17:38 · JFK 20:38
    ♥ Do have faith in what you're doing.