opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Server side UI framework POC #2872

Open carcruz opened 1 year ago

carcruz commented 1 year ago

As the OpenTargets development team, we want to explore the benefits and cons of server-side rendering (SSR) because of our need to improve page loading and SEO capabilities.

Background

We are currently building our UIs using client-side rendering with a standard ViteJS bundler as a single-page application. This technique has some downsides:

Task

To explore different options for implementing SSR, I encourage you to build a study case using one of our pages platform (either Drug or Disease) and rebuild it using React server-side frameworks. NextJS is a good start since it has been growing fast in the front-end ecosystem.

Note: Be careful with NextJS 13, at the moment, is an unstable version.

Another interesting framework to test is Remix.

References

LucaFumis commented 1 year ago

I'll be documenting the process here: https://docs.google.com/document/d/1Ztrcbz7ShgizC8zrnPsYffselKAT2rLNeXWoWO-zRng/