Pull-Request-Community / pull-request-community-website

Pull request community
https://pullrequest.co.il/
MIT License
56 stars 101 forks source link

`randomShuffle` is not working correctly #167

Open bargalya opened 2 years ago

bargalya commented 2 years ago

Scenario:

  1. enter the home page
  2. refresh the page and look at the cards order

ER: the order of the cards should change randomly on each refresh CR: the cards order remains the same on each refresh

jordy-m commented 2 years ago

I'd like to take this issue :)

InbarDanieli commented 2 years ago

I'd like to take the issue

Yedidyar commented 2 years ago

I tried to investigate the root of this bug.

I narrowed it down to a bug in the build process because it works in the development environment.

My guess is that the page is build once on new build(SSG) and does not revalidate the shuffled people and clear the cached static page on refresh.

Yedidyar commented 2 years ago

Resolved at #240

please close the issue