Git Product home page Git Product logo

pokedex's Introduction

Learn Relay

Source code for learnrelay.org

Contribution

If you have a suggestion on how to improve Learn Relay please either open an issue or create a pull request by changing the source files in content.

.
├── connections
│   ├── cursors-pagination.md
│   └── what-is-a-connection.md
├── go-further
│   └── wrapup.md
├── images
│   ├── demo.png
│   ├── edges.png
│   ├── favicon.png
│   └── playground.png
├── introduction
│   ├── get-started-bottom.md
│   ├── get-started.md
│   └── what-is-relay.md
├── mutations
│   ├── mutation-types.md
│   ├── optimistic-updates.md
│   ├── relay-store.md
│   └── what-is-a-mutation.md
├── overview
│   ├── cover.md
│   ├── intro.md
│   └── prerequisites.md
├── queries
│   ├── containers-fragments.md
│   ├── variables.md
│   ├── what-is-a-query.md
│   └── working-with-fragments.md
└── routes
    ├── react-router-relay.md
    └── route-in-relay.md

Development CircleCI

npm install
npm start # open localhost:4300

Help & Community Slack Status

Join our Slack community if you run into issues or have questions. We love talking to you!

pokedex's People

Contributors

cristiandan avatar jl-n avatar lvarayut avatar ram535ii avatar renebrandel avatar schickling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pokedex's Issues

Step-02: Reverts relay container around ListPage

In step-01 we create the relay container around the ListPage component,
However are then instructed to checkout the step-02 branch which has this change reverted.

Also, step-01 the instructions about adding the relay container are missing the instructions to add import Relay from 'react-relay'.

ESLint'ing Errors

I did a git checkout on this file, ran npm start and got the following linting errors. Noting in case this isn't expected given the there is an '.eslintrc file in the repo.
learnrelay3

[Meta] Improve contribution workflow

Our current workflow goes like this:

Changes to the separate steps should be made in the respective folder in the master branch. After all changes, the update-branches.sh script should be executed that syncs these folders with the separate branches.

This is an issue when contributors create a pull request for a separate branch, as the master branch falls out of sync. Also, when the PR is merged but afterwards the update-branches.sh script is executed, the commits on the branch are lost.

The following things have to be done:

  • fix the inconsistencies brought up by PR #6, its merging and the force push done by update-branches.sh
  • fix other inconsistent branches. these include at least step-01, step-01-solution and step-05
  • find a workflow for PRs that works for contributors and doesn't introduce inconsistencies. create CONTRIBUTE.md that communicates clearly how to contribute.

A suggestion for a PR workflow:

  • Add the separate folders to .gitignore in master
  • introduce pull-branches.sh that pulls all branches into separate folders to the master branch

Then a possible workflow could look like this

go to the master branch. execute pull-branches.sh. introduce changes to a branch in its folder. call update-branches.sh to sync the changes from the folder to the branch.

withRouter missing

Couldn't get the routing from PokemonPreviewPage back to ListPage. Kept complaining about this.props.router being null. Solved via wrapping ala <Route ... component={withRouter(PokemonPage)}.

step-01 instructions are slightly off

The steps are slightly off. Instead off:
git clone [email protected]:learnrelay/pokedex.git
cd pokedex
git checkout step-01
npm install
npm start # open localhost:3000

I needed to do this
git clone [email protected]:learnrelay/pokedex.git
cd pokedex
git checkout step-01
cd branch-step-01
npm install
npm start # open localhost:3000

The src folder inside the root of the step-01 branch doesn't have the correct version of the code. Please let me know if you need any further info.

Wrong link in README.md

The link in If you haven't done it already, checkout the interactive Learn Relay tutorial. in README.md links to https://learnrelay.org/ which redirects to https://www.learnrelay.com/, which does not exist. Should probably link to https://www.learnrelay.org/, and https://learnrelay.org/ should not redirect to .com, but .org.

graph.cool doesn't support 100000 nodes

{
  "data": null,
  "errors": [
    {
      "locations": [
        {
          "line": 3,
          "column": 5
        }
      ],
      "path": [
        "viewer",
        "allPokemons"
      ],
      "code": 2041,
      "message": "You requested 100000 nodes. We will only return up to 1000 nodes per query.",
      "requestId": "cj0joxj4rj5nh0163ml0et4ao"
    }
  ]
}

Missing asset folder in step-05

There is no asset folder with the delete.svg icon so the PokemonPage can't load as it does not find the delete image in line 5 in PokemonPage.js

import deleteIcon from '../assets/delete.svg'

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.