From f350db196bcab490b8a6b67f9536f0b9b7322073 Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Mon, 10 Jul 2023 23:11:32 +0100 Subject: =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Replace=20React=20with=20diffhtml?= =?UTF-8?q?=20(#10)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * :wrench: Remove react dependency, add vite for running examples. * :heavy_plus_sign: Update stdlib version to 0.29 * :fire: Remove old examples. * :sparkles: Vendor diffhtml and update runtime ffi code to replace react. * :recycle: Refactor all the things now react is gone. * :memo: Remove references to react in the readme. * :sparkles: Create a simple counter example. --- test/playground.mjs | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 test/playground.mjs (limited to 'test/playground.mjs') diff --git a/test/playground.mjs b/test/playground.mjs deleted file mode 100644 index 54d77a8..0000000 --- a/test/playground.mjs +++ /dev/null @@ -1,7 +0,0 @@ -import * as Lustre from 'lustre/ffi.mjs' -import * as React from 'react' -import Editor from '@monaco-editor/react' - -export const monaco = (attributes) => (dispatch) => { - return React.createElement(Editor, Lustre.toProps(attributes, dispatch), null) -} -- cgit v1.2.3