onlineweb-frontend icon indicating copy to clipboard operation
onlineweb-frontend copied to clipboard

Fetch events on server side

Open henrikskog opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

  • Looks ugly to have the events pop up after initial page load

Describe the solution you'd like

  • Fetch events on server side with Nextjs server side rendering .

  • NextJS supports Incremental Server Side Rendering. I'm not sure but this could maybe be used. In the newest version of nextjs you can refresh getStaticProps on an event, which means we could trigger it when an event ends and the data needs to be refreshed. I believe this would be very performant

In my opinion, this would be a gigantic improvement

henrikskog avatar Mar 02 '22 15:03 henrikskog