Git Product home page Git Product logo

zustand's Introduction

Technologies: ● react.js ● zustand (https://github.com/pmndrs/zustand) Resources: ● https://api.punkapi.com/v2/beers?page=n Task description: You will need to create an app that should display a list of beer recipes. Users should be able to scroll through a list of recipes and to view a single recipe. Detailed explanation: ● Get a list of recipes on initial load, save them in the zustand store (https://api.punkapi.com/v2/beers?page=1) ● The amount of recipes rendered should always be 15 ● Implement multiple selection of recipes. User can select multiple recipes by clicking on recipes with the mouse right button. If user selected at least one recipe, the "Delete" button should appear somewhere. ● If the user clicks the "Delete" button, selected items should be removed from rendered list (but still 15 recipes should be rendered). ● Users can deselect recipe if item is clicked one more time. ● Users can go to a single recipe page by clicking on recipe card with mouse left button. ● If there is no more recipes to show, you should make another API request to get another 25 recipes. Additional options: ● Only 5 recipes should be visible on a current screen. ● The amount of recipes rendered should always be 15. ● Implement lazy scroll functionality. If the user will scroll to the bottom of the list, the first 5 recipes should be removed from render and next 5 should be added. This way user will be able to see 5 new recipes but the rendered amount will always be 15.

zustand's People

Contributors

puerarongo 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.