Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Server-Side Rendering #37

Open
George-Madeley opened this issue Mar 30, 2024 · 0 comments
Open

Upgrade to Server-Side Rendering #37

George-Madeley opened this issue Mar 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@George-Madeley
Copy link
Collaborator

George-Madeley commented Mar 30, 2024

Upgrade to Server-Side Rendering

Problem

React is a JavaScript library that computes all of its rendering on the clients device. Therefore, as the site becomes more complex, some devices may take longer to load and render the website. To solve this issue, we can use a server-side rendering framework.

Solution

There are a range of React server-side rendering frameworks such as Next.js and Vite.js. This allows us to use all of the React capabilities with additional functionality such as routing and navigation (therefore, React Router will no longer be required).

This is a really large tasks and should only be assigned to those highly invested and capable and developing websites. In addition, our current client-side rendering website is hosted on GitHub pages. The host may need to be switched to another provider if GitHub pages does not support React server-side rendering. If the website host provider is changed, the GitHub Actions script will also need to be updated.

@George-Madeley George-Madeley added the enhancement New feature or request label Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant