breeze2 / breader Goto Github PK
View Code? Open in Web Editor NEWA simple RSS reader.
Home Page: https://breeze2.github.io/breader/
A simple RSS reader.
Home Page: https://breeze2.github.io/breader/
例如:
interface IAction<P = any> {
payload:P;
type:string;
}
let a:IAction = {payload: {}, type:'string'};
let b:IAction<{str:string; num:number; }> = {payload: {str: 'string', b: 1}, type: 'string'};
用TypeScript实现Electron主进程,代码文件放于./main
目录下。
实现一个asyncDispatch
方法,以分发异步的action
(仅基于redux-saga
)。
利用PouchDB
实现数据存储(基于IndexedDB)。
Remove auto updater when the build target is 'snap'.
包括:
articles
、feeds
、menu
;mapStateToProps
和mapDispatchToProps
。Warning: componentWillReceiveProps/componentWillMount/componentWillUpdate has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
npx react-codemod rename-unsafe-lifecycles
in your project source folder.Please update the following components: App, AppMenu, ArticleView, ArticleVirtualList, SettingsModal, WebviewDrawer
使用jest-electron-runner
更新测试用例
调整feed解析流程:
设置模态框中的feed列表分离出来,做为一个单独组件。
更新依赖库
所有接口以I
开头命名,以Interface
开头也要转成I
开头。
The label of Update menu item is not right.
减少视觉闪烁
重构单元测试
Highlight the codes in article view.
Custom titlebar in windows.
custom-electron-titlebar
之前是用window.require避开了webpack解析,现在用webpack配置target: 'electron-renderer'
。
使用自定义滚动条,保持不同系统下同样样式。
https://malte-wessel.com/react-custom-scrollbars/
使用Prettier整理代码格式
使用sentry捕获错误
feed icon存在背景图片与前景图片同时显示问题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.