GithubHelp home page GithubHelp logo

rhjones / quiltr-react Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.03 MB

Partial implementation of Quiltr using React

Home Page: https://rhjones.github.io/quiltr-react/

HTML 2.89% CSS 3.86% JavaScript 93.25%

quiltr-react's Introduction

Quiltr - React

Partial implementation of Quiltr using React

Dependencies & Tools

Notes

  • Free dynos on Heroku (where the API is hosted) can be very slow to spin up. The first time you load the page, it will take a minute to grab the initial set of data; subsequent calls will be much more reasonable. If you'd prefer to run the API locally, code and setup instructions are at rhjones/quiltr-api.
  • I'm redirecting from / to /patterns automatically because, for this implementation, having a mostly content-less index/root view didn't seem to make sense.
  • I'm currently using hashHistory instead of browserHistory for easier deployment to GH Pages. rafrex/spa-github-pages looks like a reasonable solution to this problem, but I haven't yet pursued this in the interest of time.
  • I initially developed my API to work with Ember and ember-data, which initiates requests for related data based on models defined in the app. I've written a fairly clunky promise chain in the ProjectCard component that fetches the user and image associated with a particular project after first getting that project and the related user/image IDs, but I suspect there are several better ways to handle this—through redux, or perhaps with Promise.all and an array of URLs. The componentDidMount() method in lines 23-46 of this component is the least DRY/concise bit of code in the project.

quiltr-react's People

Contributors

rhjones avatar

Watchers

 avatar

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.