0.20.1 • Published 2 months ago

reejs v0.20.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Ree.js is a library that makes web development faster and easier by providing features such as URL Imports, JSX support, and server-side rendering. URL Imports are a way of importing modules from URLs instead of local files or npm packages. This can reduce the download size and improve the performance of your web applications. It doesn't hurt to use the latest features for better performance, right?

📖 Read Documentation

Documentation is available at here . If you find any mistakes, please make an issue. Incase you have any questions, please ask them on our Discord Server

✒️ Contributing

We welcome all contributions. Please read our CONTRIBUTING.md

🛣️ Roadmap

  • Reewrite Packit to be modular
  • Packit in dev mode should run hono server in dev mode, and dynamically transpile & load files on a request.
  • Fix development mode server (spawned child process not killed...)
  • Support for wasm based dependencies on URL Import
  • Reewrite init command to be modular
  • Add support for more runtimes
  • Reewrite specialFileImport.js in @reejs/imports to be more readable
  • Write Docs and make website look more cooler
  • Add Useful/Important Components like Head, Link & Image (Idea from Nextjs)
  • Download browser dependencies and serve them locally (only in production mode)
  • Hit 1k stars on GitHub :D
  • Add support for more languages (vue, svelte, etc.)
  • Make Reejs more faster (we can do better haha!)
  • Allow importing files under a scope url (like being able to import @reejs/utils/log.js when import maps has@reejs/utils). I expect packit to be able to handle this, rather than @reejs/imports handling it. Packit should probably save this data to a seperate object in import maps from where @reejs/imports can read it in future.

🚤 Benchmark

Ran on Pentium G620 @ 2.60GHz (released in Q2'11), 8GB DDR3 RAM, Arch Linux on 1st June 2023 Reejs v0.9.15, Nodejs v18.16.0.

If you want to view the latest benchmarks online, please visit https://ree.js.org/graph (Uses GitHub Actions to run benchmarks on every commit and everyday)

Important Note: This tests were ran manually, and the observations were noted manually. Since different frameworks have different ways and ideas of how it should run, please think of this benchmarks as approx data (except folder sizes). Only Reejs Packit provides required data, and nextjs dev builds run transpilers 2-3 times when booting up, so its written as it is.

Reejs: default React project with features preact,twind,api,static Vite: default react project Nextjs: default nextjs project: no typescript, no eslint, no tailwind, no app router.

Transpilers (dev) - First Time

TranspilerTime
Packit98ms
Vite547ms
Swc (Nextjs)5.8s + 845ms + 1.8s

Transpilers (dev) - Edit and reevert file (Ree-run without cold boot)

TranspilerTime
Packit17ms
Vite225ms
Swc (Nextjs)1.4s + 932ms + 422ms

Transpilers (production build)

TranspilerTime
Packit172ms
Vite2.31s
Swc (Nextjs)37.68s

Default Project sizes

Running du -sh . inside the project folder after installing dependencies, running both dev and prod build. No files must be deleted.

Reejs - 1.8MiB Vite - 89MiB Nextjs - 333MiB

While you might say Different Framework's default projects are having images, css files shoved right into them, they don't make that much of a difference between 1MiB, 89MiB, 333MiB.

Server Benchmarks

Reejs Uses Hono Server under the hood, and that's one of the reasons how we could have such a small ram and storage footprint, alongwith built-in support for running on different runtimes and services out of the box.

Vite Uses Their Own (Not Disclosed/Made specifically for Vite) Server

Nextjs Uses Expressjs

You can find Server Benchmarks over https://github.com/denosaurs/bench


About Reejs & Why the name?

Ree

"Ree" is based on a meme that expresses one's intense rage or frustation typically associated with the Pepe character. More Info on knowyourmeme.com I (@renhiyama) started working on my own web framework when I realised older or low end devices can no longer keep up with the speed slow builds of Transpilers and Web Frameworks. I thought of using different technologies and stupid ideas that just seem to work and it turned out that it's way faster & better than the current generation of Web Frameworks. While Reejs does try to solve compability issues, if you find any bugs, please make an issue.

0.20.1

2 months ago

0.20.0

2 months ago

0.17.0

3 months ago

0.14.0

7 months ago

0.14.1

7 months ago

0.15.4

7 months ago

0.15.5

7 months ago

0.15.0

7 months ago

0.15.1

7 months ago

0.15.2

7 months ago

0.15.3

7 months ago

0.16.3

6 months ago

0.16.0

7 months ago

0.16.1

7 months ago

0.16.2

7 months ago

0.13.1

8 months ago

0.13.2

8 months ago

0.13.3

8 months ago

0.13.4

8 months ago

0.11.39

9 months ago

0.11.40

9 months ago

0.11.41

9 months ago

0.11.42

9 months ago

0.11.43

9 months ago

0.9.9

12 months ago

0.9.30

11 months ago

0.9.31

10 months ago

0.9.32

10 months ago

0.9.23

11 months ago

0.9.24

11 months ago

0.9.25

11 months ago

0.9.26

11 months ago

0.9.20

11 months ago

0.9.21

11 months ago

0.9.27

11 months ago

0.9.28

11 months ago

0.9.29

11 months ago

0.9.12

12 months ago

0.9.13

12 months ago

0.9.14

12 months ago

0.9.15

12 months ago

0.9.10

12 months ago

0.9.11

12 months ago

0.9.16

12 months ago

0.9.17

12 months ago

0.9.18

12 months ago

0.9.19

11 months ago

0.10.36

9 months ago

0.10.37

9 months ago

0.10.38

9 months ago

0.10.39

9 months ago

0.10.33

10 months ago

0.10.34

10 months ago

0.10.35

10 months ago

0.8.8

1 year ago

0.8.7

1 year ago

0.8.1-beta-1

1 year ago

0.9.7-1

1 year ago

0.9.7-2

1 year ago

0.9.7-3

1 year ago

0.9.0

1 year ago

0.9.2

1 year ago

0.9.1

1 year ago

0.9.7

1 year ago

0.8.0-beta-4

1 year ago

0.9.3

1 year ago

0.9.6

1 year ago

0.9.5

1 year ago

0.8.0-beta-2

1 year ago

0.8.0-beta-3

1 year ago

0.8.0-beta-1

1 year ago

0.7.0-beta-1

1 year ago

0.7.1-beta-2

1 year ago

0.7.1-beta-1

1 year ago

0.8.3

1 year ago

0.8.2

1 year ago

0.6.0-beta-3

1 year ago

0.6.0-beta-2

2 years ago

0.6.0-beta-5

1 year ago

0.6.0-beta-4

1 year ago

0.6.0-beta-1

2 years ago

0.5.4

2 years ago

0.4.0-test2

2 years ago

0.4.9

2 years ago

0.4.0-test3

2 years ago

0.4.8

2 years ago

0.4.6-test3

2 years ago

0.4.6-test4

2 years ago

0.4.6-test1

2 years ago

0.3.0

2 years ago

0.4.6-test2

2 years ago

0.4.6-test5

2 years ago

0.4.6-test6

2 years ago

0.3.6

2 years ago

0.5.3

2 years ago

0.3.5

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.5.0

2 years ago

0.3.2

2 years ago

0.4.0-test

2 years ago

0.3.1

2 years ago

0.5.2

2 years ago

0.3.4

2 years ago

0.5.1

2 years ago

0.3.3

2 years ago

0.3.9

2 years ago

0.5.3-test1

2 years ago

0.5.3-test2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.7

2 years ago

0.4.4

2 years ago

0.2.6

2 years ago

0.4.7

2 years ago

0.2.9

2 years ago

0.4.6

2 years ago

0.2.8

2 years ago

0.4.1

2 years ago

0.2.3

2 years ago

0.4.0

2 years ago

0.2.2

2 years ago

0.4.3

2 years ago

0.2.5

2 years ago

0.4.2

2 years ago

0.2.4

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

1.0.0

2 years ago