Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Latest commit

 

History

History
34 lines (26 loc) · 1.57 KB

README-CN.md

File metadata and controls

34 lines (26 loc) · 1.57 KB

🚨 NOTICE: Sorry, I haven't maintained this project for a long time, so this project is for reference and experiment only.

介绍

Anthem 一款瀑布流项目,就像 Pinterest、huaban.com、faxianla.com
Anthem 对于无限滚动下拉加载达到了高性能实践
Anthem 名字的由来其实就是因为很喜欢 圣歌(Anthem) 这款游戏
主要的技术栈使用 Redux + react-redux + styled-components + immutable.js

开发额外说明

项目内含一个HTTP服务器koa2 用于图片输出,所以直接启动它需要node版本在8.x以上,或者您可以自行使用babel、runkoa
打包使用 webpack3react-hot-loader模块热更新

Demo

demo demo

Anthem 瀑布流概念来自谷歌的这张gif,有兴趣可以看看

https://developers.google.com/web/updates/2016/07/infinite-scroller demo

使用方式

# clone
git clone https://github.com/yuanzhhh/Anthem.git

# 安装
cd Anthem && npm install

# 运行
npm run dev

# 生产
npm run build