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

🔍 SSG/SSR software feature comparison #49

Closed
mohsenkhanpour opened this issue Nov 22, 2020 · 14 comments
Closed

🔍 SSG/SSR software feature comparison #49

mohsenkhanpour opened this issue Nov 22, 2020 · 14 comments
Labels
♥︎ good first issue Good for newcomers

Comments

@mohsenkhanpour
Copy link

mohsenkhanpour commented Nov 22, 2020

Framework Aleph.js Next.js/Nuxt.js Gatsby.js/Gridsome Sapper eleventy
Templating Alef/React/Preact/Markdown React/Vue React/Preact/Vue Svelte HTML/Markdown/JavaScript/Liquid/Nunjucks/Handlebars/Mustache/EJS/Haml/Pug/Vue/React
Assets directory public public static static Passthrough File Copy
Distribution directory dist .next public public _site
Plugin ecosystem Yes Yes Yes No Yes
Routing pages/APIs pages pages pages/routes Imperative API
Image optimization ? next/image gatsby-image gatsby-plugin-sharp ? eleventy-img
Data Sourcing useDeno/APIs getServerSideProps/ getStaticProps GraphQL custom express like server Data API
Serverless functions ready Yes Yes Through plugins ? ?
Modules ES Modules CommonJS/ES Modules CommonJS/ES Modules CommonJS CommonJS
Compiler SWC Babel Babel Babel None
Bundle ? Webpack Webpack Webpack/Rollup None
Service Worker ? next-pwa gatsby-plugin-offline built-in eleventy-plugin-pwa
Incremental builds ? server-side caching Exclusive to Gatsby Cloud No Planned
Preload links Anchor / a tag Link component Link component rel=prefetch attribute to normal HTML a tag ?
PWA Planned next-pwa gatsby-plugin-manifest ? eleventy-plugin-pwa
AMP Planned next/amp gatsby-plugin-amp ? @ampproject/eleventy-plugin-amp

A comparison of SSG/SSR frameworks, it can be useful to compare all features in one place.
Add any feature you think it is not added here, when the table is complete it can be used as a markdown file for reference on how to migrate from other frameworks to Aleph.js/Deno.

@ije
Copy link
Member

ije commented Nov 22, 2020

this sheet is vary clear and useful, thanks @mohsenkhanpour

@ije ije pinned this issue Nov 22, 2020
@ije
Copy link
Member

ije commented Nov 22, 2020

i pined this issue, let's keep updating, thanks!

@shadowtime2000
Copy link
Member

Doesn't Aleph already have a Link preloading component?

@ije
Copy link
Member

ije commented Nov 22, 2020

yes, we have Link reloading when mouse over or specify preload prop.

@mohsenkhanpour
Copy link
Author

mohsenkhanpour commented Nov 22, 2020

Added Link component, PWA, AMP

@ije ije added the ♥︎ good first issue Good for newcomers label Dec 1, 2020
@soilSpoon
Copy link
Contributor

Next.js optimizes the image using next/image.

@mohsenkhanpour
Copy link
Author

Thanks @soilSpoon , I added it to the table.

@ije
Copy link
Member

ije commented Dec 22, 2020

thanks @soilSpoon

@ije ije unpinned this issue Feb 20, 2021
@alecandido
Copy link

If I'm not making a mistake the former Link component is now named Anchor.

Since it is not present in the docs (and the docs are even hard to explore, due to missing search function), if this is the case, could you update the table?

@hazae41
Copy link
Member

hazae41 commented May 21, 2021

Anchor is the internal name for <a/>

@alecandido
Copy link

Fine, if it's only <a/> then it's not Link. So where is the claimed Link?

If I take a very old commit it was top-level, but now there is nowhere a link.ts file.

@hazae41
Copy link
Member

hazae41 commented May 21, 2021

It has been removed in favor of Anchor, but you can't use it directly, it's the smart transform (#5) of <a/>

@mohsenkhanpour
Copy link
Author

I updated the table!

@mohsenkhanpour
Copy link
Author

Closing since this is not really an issue.
Follow the discussion here:
#426

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
♥︎ good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

6 participants