Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ilharp/react-cordis

Real React for Cordis, like Server Components
https://github.com/ilharp/react-cordis

cordis react react-reconciler reactjs reconciler render renderer

Last synced: 21 days ago
JSON representation

Real React for Cordis, like Server Components

Awesome Lists containing this project

README

        

# react-cordis

Real React for Cordis, like Server Components.

Heavily under constructing.

## Sample

```tsx
import { useCallback, useState } from 'react'
import { render } from 'react-cordis-notifier'

export function apply(ctx: Context) {
render(ctx, )
}

function Counter() {
const [count, setCount] = useState(0)

const increase = useCallback(() => setCount((x) => x + 1), [])
const decrease = useCallback(() => setCount((x) => x - 1), [])

return (
<>

Current: {count}


Increase
Decrease
>
)
}

```

## LICENSE

MIT