V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Saitama

CRUD 的 List 页面状态怎么样可以高效序列化和反序列化到 URL 参数?

  •  
  •   Saitama · May 9, 2023 · 1596 views
    This topic created in 1089 days ago, the information mentioned may be changed or developed.
    CRUD 项目的 List 页面一般都是一个 Table 组件,Table 有很多状态. Pagination ,filter ,sort 。 这些玩意儿除了弄几个工具函数,序列化反序列化,然后传递给 Table <Table ...tableState>,还有没有更优雅的方法了。
    vevlins
        1
    vevlins  
       May 12, 2023
    那还能怎么优雅,不然你把这些组件状态直接序列化 /反序列化呗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2579 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:02 · PVG 15:02 · LAX 00:02 · JFK 03:02
    ♥ Do have faith in what you're doing.