Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bndkt/kotekan

A simple React framework built on Bun. Supports React Server Components (RSC).
https://github.com/bndkt/kotekan

bun react typescript

Last synced: 16 days ago
JSON representation

A simple React framework built on Bun. Supports React Server Components (RSC).

Awesome Lists containing this project

README

        

# 🥁 Kotekan

A minimal React framework based on the [Bun](https://bun.sh/) runtime, with built-in support for [React Server Components (RSC)](https://react.dev/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-server-components).

> [!CAUTION]
> Kotekan is in super early development. I appreciate if you try it out and provide feedback. But please, don't use it in production (yet).

## Features
- [x] CSR
- [x] SSR
- [x] Streaming
- [x] Server Components
- [x] Client Components
- [ ] Server Actions
- [x] MDX
- [x] StyleX (unstable, disabled for release)
- [x] Tailwind CSS (unstable, disabled for release)
- [ ] HMR/Fast Refresh

## Supported React rendering strategies:
- [x] CSR
- [x] SSR
- [x] RSC
- [ ] SSG

## Major dependencies:
- [Bun](https://bun.sh/)
- [TypeScript](https://www.typescriptlang.org/)
- [Biome](https://biomejs.dev/)
- [React](https://react.dev/)
- [StyleX](https://stylexjs.com/)

## Smaller dependencies:
- [react-error-boundary](https://github.com/bvaughn/react-error-boundary)
- [isbot](https://github.com/omrilotan/isbot)
- [@mdx-js/mdx](https://github.com/mdx-js/mdx/)

## Goals
- As simple as possible
- As few dependencies as possible

## Major missing pieces
- [ ] [Bundle splitting](https://github.com/bndkt/kotekan/issues/7)
- [x] [Generate CSS file for StyleX](https://github.com/bndkt/kotekan/issues/2) (currently working via debug-mode)
- [x] [RSC](https://github.com/bndkt/kotekan/issues/9)
- [ ] [Fast Refresh/HMR](https://github.com/bndkt/kotekan/issues/4)
- [ ] [Implement StyleX without Babel](https://github.com/bndkt/kotekan/issues/10)

Anti-goals/indicators that things are going into the wrong direction:
- Bundling via esbuild or other tools
- Non-ESM
- Transpiling to JS
- No legacy