bunsai
Advanced tools
Comparing version 2.0.1 to 2.1.0
{ | ||
"name": "bunsai", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"module": "./src/core/index.ts", | ||
"description": "(un)official Bun SSR engine", | ||
"repository": "levii-pires/bunsai2", | ||
@@ -88,6 +89,7 @@ "devDependencies": { | ||
"bun", | ||
"router", | ||
"ssr", | ||
"svelte", | ||
"react", | ||
"plugin" | ||
] | ||
} |
@@ -1,2 +0,2 @@ | ||
<p align="center"><img style="width: 25%" src="https://github.com/levii-pires/bunsai2/blob/main/assets/logo.png?raw=true"></p> | ||
<p align="center"><img width="300rem" height="300rem" src="https://github.com/levii-pires/bunsai2/blob/main/assets/logo.png?raw=true"></p> | ||
@@ -21,2 +21,4 @@ <h1 align="center">BunSai 2</h1> | ||
### Adapters | ||
| Framework/API | Example | | ||
@@ -31,2 +33,12 @@ | --------------------------------------------------- | ------------------------------------------------------------- | | ||
### Web libraries and plugins | ||
Currently BunSai supports Svelte and React. Check [`examples`](./examples/src/). | ||
[Svelte](https://svelte.dev/) is a framework and has a compiler, thus having a higher level DX. That means you have to use plugins, write "Svelte code" and you have access to global injected variables. | ||
On the other hand, [React](https://react.dev/) is a library and have a much lower level DX. Its just Typescript (or Javascript, but who uses plain JS these days?). | ||
To avoid having a README full of information and difficult to understand, I will put all the information on the (coming soon) BunSai documentation web page. | ||
### Dev mode | ||
@@ -177,1 +189,3 @@ | ||
> Check the [StandaloneModule](./src/core/module.ts) interface | ||
Please note that React, being a library, has an library approach. That means no plugin. |
Sorry, the diff of this file is not supported yet
45936
1119
189