Coder Social home page Coder Social logo

book-my-hotel's Introduction

Book-my-travel

Next Js, Date-Range, Google Maps API, Context API

A project to learn the concepts of google maps api, date-range and context api

Live Demo

Lesson Learned

  • Prop Drilling: I knew what prop drilling was but this project really allowed me to get an idea on how it impedes performance and how to overcome this problem. I had an option to use redux or context api. I chose context api as it was a more reasonable option in this case because it was just a simple data from an api without needing to be modified. I would choose redux for a more complext data.

  • Realization that even though a date is taught to be such simple concept but realizing it can be very complex based on your use case. For this project i utilized react-date-range

Problems Faced

  • At the time of implementaion of the map componenet i quickly realized that i began prop drilling in order to tackle this i implemented the Context hook from react.

Resources

Screenshots

Screen Shot 2022-12-07 at 6 36 59 PM

Screen Shot 2022-12-07 at 6 37 19 PM

Screen Shot 2022-12-07 at 6 37 42 PM

Screen Shot 2022-12-07 at 6 37 58 PM

Screen Shot 2022-12-07 at 6 38 14 PM

Screen Shot 2022-12-07 at 6 38 43 PM

book-my-hotel's People

Contributors

thabish-kader avatar

Stargazers

Geová Ramalho dos Santos avatar  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.