processing / processing/p5.js-website

Detangle routing

Open
#43 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Technical Initiative
Dominant language
MDX
Stars
96
Forks
322
Avg merge
5d 22h
Merged PRs (30d)
8

Description

There were some unexpected issues with how Astro.js handles default routes and relative linking. As a result, we have had to move to handling much of the locale prefixing ourselves. We added an html transform middleware to the build and dev steps that simplifies this significantly. We should make another pass on the strategies for static path generation and linking and see if there are opportunities for simplification.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how Astro.js handles default routes and relative links, then inspect the HTML transform middleware used in the build and dev steps. Compare the current static path generation, linking, and locale-prefixing strategies; done means identifying and implementing a simpler consistent approach.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, localization, web-dev
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.