Let's make static sites dynamic again –.sorta (With NextJS “preview-mode”) (johalloran.dev) 1 points by jpohalloran 6y ago ↗ HN
[–] JohnFen 6y ago ↗ This made me laugh, so I had to share -- when I go to that site, I get a page reading "An unexpected error has occurred."I never get that from static sites. [–] jpohalloran 6y ago ↗ johalloran.dev? or tinacms.org? both are completely static! But tinacms.org can switch to SSR in edit-mode. [–] JohnFen 6y ago ↗ This link: https://www.johalloran.dev/blog/nextjs-preview-modeIt flashes the real content briefly, then immediately goes to a white screen with that error message centered on it.
[–] jpohalloran 6y ago ↗ johalloran.dev? or tinacms.org? both are completely static! But tinacms.org can switch to SSR in edit-mode. [–] JohnFen 6y ago ↗ This link: https://www.johalloran.dev/blog/nextjs-preview-modeIt flashes the real content briefly, then immediately goes to a white screen with that error message centered on it.
[–] JohnFen 6y ago ↗ This link: https://www.johalloran.dev/blog/nextjs-preview-modeIt flashes the real content briefly, then immediately goes to a white screen with that error message centered on it.
3 comments
[ 2.8 ms ] story [ 16.3 ms ] threadI never get that from static sites.
It flashes the real content briefly, then immediately goes to a white screen with that error message centered on it.