Giter VIP home page Giter VIP logo

reddit-client's People

Contributors

dependabot[bot] avatar mattburnett-repo avatar

Watchers

 avatar

reddit-client's Issues

clean up TODOs

Get 90+ scores on Lighthouse

  • there is a Lighthouse option in DevTools
  • Scored above 90
  • Report printed as PDF and saved to public folder in repo

Set up a CI/CD workflow to automatically deploy your application when the master branch in the repository changes

OPTIONAL: Make your application a progressive web app

  • I'm spent... Maybe come back later and work on this item

implement filtering

Router doesn't really solve the problem.
All that is required is to trigger a getListings action, passing filterTerm, zB

dispatch(getListings(filterTerm))

this is better done using a button / onClick / callback ->

<button onClick={() => dispatch(getListings('rising'))}>Rising

=== below is included for reference tp the past ===
filter and search

  • I think the requirements mean by "filtering by preselcted categories" refers to these categories in the Reddit nav bar ->

best / controversial / hot / new / random / rising / top

filtering should be handled using Switch / Router / set endpoint in listingsSlice.js

implement state management

  • Redux, and Redux toolkit
    need toolkit to get async stuff
  • Get on top of the Redux workflow
  • Need async / API functionality

# build the components

1 npx cra reddit-client
2 npm install react-redux
3 npm install react-router-dom
4 start by writing tests

  • react -> test rendering (snapshots)
  • redux -> uses Enzyme (state injection?)
  • router -> ???

# next steps

there is an optional PWA task.

maybe come back later to this...

# version control

  • the project / repo linking instructions are a bit confusing.
  • this project exists outside of the r-c repo.
  • makes sense (projects can use multiple repos), but you can also create project(s) inside a specific repo.

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.