zaydek / retro-legacy

[WIP] Your friendly neighborhood React static-site generator
MIT License
2 stars 0 forks source link

[Todo] Deprecate FSPath in favor of DiskPathSrc and DiskPathDst #26

Closed zaydek closed 3 years ago

zaydek commented 3 years ago

Also we want to be able to embed PageBasedRoute inside of a RenderedPage (see prerender_helpers.go).

So we should rename PageBasedRoute to maybe just Page and rename Page to ResolvedPage or RenderedPage.

Pages is easier to remember than Routes, but Router is still preferred for the React runtime library (since pages seem idempotent).

zaydek commented 3 years ago

This is in progress. Would prefer to have some test coverage for the page-based router.

zaydek commented 3 years ago

Not tested but refactored.