真・懒

订阅 Twitter GitHub 联系

Elder.js first impression

So many static site generators on the earth, they can be easily divided into two main categories:

If you need some interactive features on the client, you'll need to add extra layers on purely static content. Interactive mode enabled by default on full hydration, but it's too heavy for a site which mainly informative not app-like.

After some investigation, I found Elder.js that supports partial hydration, which means you can control the necessary parts to be hydrated. I gave it a try, and you can check out https://www.rocbank.com/en/ to see the result.

Pros

Cons