Giter VIP home page Giter VIP logo

Comments (10)

ctuanle avatar ctuanle commented on May 24, 2024 1

@ctuanle ừ call api (thay api movie list hiện tại bằng api discover movie đồ rứa sau thay mấy cái query của link url fetch để filter), t nghĩ là xài useFetcher của remix đồ để call lại, mé hơi rắc rối thiệt -.-

@Khanhtran47 okay để t thử 🤖

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024

TODO for filter component: add select year, user score, runtime (advanced)

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024

@ctuanle m thử lm cái filter ni nha, t qua lm bên cái search

from sora.

ctuanle avatar ctuanle commented on May 24, 2024

@ctuanle m thử lm cái filter ni nha, t qua lm bên cái search

@Khanhtran47 gọi api á ?

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024

@ctuanle m thử lm cái filter ni nha, t qua lm bên cái search

@Khanhtran47 gọi api á ?

@ctuanle ừ call api (thay api movie list hiện tại bằng api discover movie đồ rứa sau thay mấy cái query của link url fetch để filter), t nghĩ là xài useFetcher của remix đồ để call lại, mé hơi rắc rối thiệt -.-

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024

@ctuanle ừ call api (thay api movie list hiện tại bằng api discover movie đồ rứa sau thay mấy cái query của link url fetch để filter), t nghĩ là xài useFetcher của remix đồ để call lại, mé hơi rắc rối thiệt -.-

@Khanhtran47 okay để t thử 🤖

@ctuanle hoặc khi filter thì m chuyển route sang 1 trang index ứng với cái filter luôn, k bt đk

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024

@ctuanle à cái select từ cái dropdown lấy value hơi ngu tý 😅
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/values

from sora.

ctuanle avatar ctuanle commented on May 24, 2024

hoặc khi filter thì m chuyển route sang 1 trang index ứng với cái filter luôn, k bt đk

@Khanhtran47 trang index ở đây là gì nhỉ, như movies/discover?filter_query_bla hay movies/index

à cái select từ cái dropdown lấy value hơi ngu tý 😅

😅

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024

hoặc khi filter thì m chuyển route sang 1 trang index ứng với cái filter luôn, k bt đk

@Khanhtran47 trang index ở đây là gì nhỉ, như movies/discover?filter_query_bla hay movies/index

à cái select từ cái dropdown lấy value hơi ngu tý 😅

😅

@ctuanle kiểu movies/discover?sort=...?genre=...?...=... dạng rứa nếu m chuyển route còn muốn giữ nguyên route thì xài useFetcher

from sora.

ctuanle avatar ctuanle commented on May 24, 2024

@Khanhtran47 oke

from sora.

Related Issues (20)

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.