Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

"Comparison with other frameworks" page: code size comparison

Đang mở
#501 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
documentation

Hướng nghiên cứu

Start with the Comparison With Other Libraries page and reproduce the reported cloc counts for the Solid and Svelte RealWorld repositories' src folders. Determine whether the 25% claim reflects older versions or a different measurement, then update the page so its comparison is supported by a clear method and current links.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hello! Hope this is the right place for this.
I was reading Solid's Comparison With Other Libraries, which says:

Solid's RealWorld demo implementation is 25% smaller than Svelte's.

There is no link here, but this appears to refer to these two repos
https://github.com/solidjs/solid-realworld
https://github.com/sveltejs/realworld

I'm curious how this was measured. I ran cloc on the src folder for each project and I get 1248 lines for Solid and 1138 for Svelte (so the Svelte version is about 9% smaller) i.e. the opposite of what the website says. Perhaps I am measuring incorrectly? (Or perhaps the website referred to an older version of one or both projects?)

(Side note, looks like Svelte's RealWorld project is built with Svelte 3. The Svelte 5 version will probably be a bit bigger due to the more explicit coding style introduced with Runes https://svelte.dev/blog/runes)

Ngôn ngữ chính
TypeScript
Star
167
Fork
179
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của solidjs/solid-site

Tất cả issue của solidjs/solid-site

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.