发布

  • Optimize UI entry feed performance (#452)

    frostbyte_neo 发布于 2021-11-15 14:32:05 +00:00

    • Optimize the React code for feeding the entries

    By building EntryItem only once and updating the entries state on meta query messages.

    • Upgrade react-scrollable-feed-virtualized version from 1.4.3 to 1.4.8

    • Fix the isSelected state

    • Set the query text before deciding the background to prevent lags while typing

    • Upgrade Basenine version from 0.2.6 to 0.2.7

    • Set the query background color only if the query is same after the HTTP request and use useEffect instead

    • Upgrade Basenine version from 0.2.7 to 0.2.8

    • Use CancelToken of axios instead of trying to check the query state

    • Turn updateQuery function into a state hook

    • Update the macro for http

    • Do the source.cancel() call in axios.CancelToken

    • Reduce client-side logging

    下载附件