Giter Site home page Giter Site logo

stevenhansel / react-pokedex Goto Github PK

View Code? Open in Web Editor NEW
152.0 3.0 27.0 26.32 MB

A pokedex made with CRA & Typescript and also PokeAPI

Home Page: https://pokedex.stevenhansel.com

License: MIT License

JavaScript 1.70% HTML 1.85% TypeScript 95.47% CSS 0.98%
react typescript tailwindcss redux-toolkit

react-pokedex's People

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  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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-pokedex's Issues

bug/evolution-tree

Someone noticed that the evolution tree of the pokemon doesn't have any branches. We need to make a tree data structure to ensure the evolution lines are displayed correctly.

pages/pokemons

Pokemons page for react-pokedex, able to search & paginate for pokemons based on filters (pokemon type & generation)

Refactor Typescript React.FC

Instead of using React.FC as the returning type of a React Component, Hook, or whatever, just use:

type Props = {
children: React.ReactNode;
};

const Component = ({ children }: Props) => {
  return children;
};

bug/infinite-scroll-rendering

If the pokemons are still fetching, isLoading, and then you scroll down and stay there until the loading is done, you have to scroll up first and then scroll down again to activate the waypoint onEnter, this is related to the <InfiniteScroll.Waypoint /> component.

feature/scroll-down

It's a pain when there's a ton of pokemon and then you scroll up and then you have to scroll down manually, maybe like set fixed button that allows you to scroll to the bottom of page immediately?

bugfix/cancel-async-request

Right now, you can't search when it's fetching, actually you can, but the old dispatched action can't be cancelled so there will be 2 async request dispatched, and if you keep searching there will be n async request dispatched.
This is really bad, we need a find a way to be able to cancel those async requests.
right now the implementation is at getPokemons in pokemonSlice

pages/pokemon-details

Pokemon Details Page for react-pokedex. Able to see the complete detail of a Pokemon.

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.