Skip to content

Commit

Permalink
Better SolidJS example
Browse files Browse the repository at this point in the history
  • Loading branch information
WebReflection committed Jan 6, 2024
1 parent 096b043 commit 448f4a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,13 +468,13 @@ In other cases, I think you can provide good guards around most common libraries
#### SolidJS

```js
import { createEffect, createRoot, createSignal } from 'solid-js';
import { createRenderEffect, createRoot, createSignal } from 'solid-js';
import { reactive, html} from 'uhtml/reactive';

const render = reactive(
callback => createRoot(
dispose => {
createEffect(callback);
createRenderEffect(callback);
return dispose;
}
)
Expand Down

0 comments on commit 448f4a2

Please sign in to comment.