Giter Site home page Giter Site logo

bermarte.github.io's Introduction

bermarte.github.io's People

Contributors

bermarte avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

tahminarasoli

bermarte.github.io's Issues

caching-experiment

From Shaun

So, the idea is, when you don't expect data for an external service to change often, you store a copy of it on your own service. This has two big benefits:

  1. You're not hitting any sort of rate limits on the external service
  2. Your data retrieval is much much faster

refactoring

From HackYourFutureBelgium/class-11-12#290 (Bram)

  • Your Repo class currently handles the loading of all the repositories that you want. A class should be as small as possible, in this case a single repository.
  • Nice job on already using async/await syntax for this project.
  • Your data fetching code is currently modifying the global repos variable. This will have the side-effect that if you ever call repo.getRepos a second or third time you'll have the same repositories included twice.
  • On your projects section you're filtering the list of projects to a certain selection. But what would happen if you started creating more repositories and the ones you want to display are no longer returned because GitHub's API paginates the list of repositories? Since you already know the names of the repositories you want to include you could also use this endpoint to retrieve them individually. This is also a good way to experiment a bit with concurrent requests using Promise.all

refactoring

Bram -refactoring

HackYourFutureBelgium/class-11-12#290 (comment)

Really nice job with the portfolio. It looks really modern and I like the small animations!

  • Your Repo class currently handles the loading of all the repositories that you want. A class should be as small as possible, in this case a single repository.
  • Nice job on already using async/await syntax for this project.
  • Your data fetching code is currently modifying the global repos variable. This will have the side-effect that if you ever call repo.getRepos a second or third time you'll have the same repositories included twice.
  • On your projects section you're filtering the list of projects to a certain selection. But what would happen if you started creating more repositories and the ones you want to display are no longer returned because GitHub's API paginates the list of repositories? Since you already know the names of the repositories you want to include you could also use this endpoint to retrieve them individually. This is also a good way to experiment a bit with concurrent requests using Promise.all

githubapi

  • create handler
  • create listener
  • create class
  • create render function

  • create data
  • create social preview for a selection of repos

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.