GitHubTrending
GitHubTrending copied to clipboard
This is a library for fetch object data from "https://github.com/trending".
求token
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.1 to 4.7.3. Changelog *Sourced from [handlebars's changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md).* > ## v4.7.3 - February 5th, 2020 > > Chore/Housekeeping: > > - [#1644](https://github-redirect.dependabot.com/wycats/handlebars.js/issues/1644) - Download links to aws...
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator See full diff in compare view [](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot...
麻烦更新一下,3.15也不行了,连不上报错,影响课程进度
3.1.5也不行了
版本3.1.3 
现在已经取不到数据了 报错 貌似跨域了 可能工具需要升级了 Access to XMLHttpRequest at 'https://github.com/trending/All%20Language?since=daily' from origin 'http://localhost:8081' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
js构造器应该是constructor 而不是和java一样是类名
import GitHubTrending from 'GitHubTrending' const URL = 'https://github.com/trending/javascript?since=daily' componentDidMount(){ new GitHubTrending().fetchTrending(URL) .then((data)=> { console.log(data); // 打印为[] }).catch((error)=> { // }); } // 插件版本 "react": "16.8.3", "react-native": "0.59.8", "GitHubTrending": "^3.0.1", 刚学react-native...
好像forkCount和starCount数据取反了