Closed ylnsnv closed 9 months ago
Another thing- It won't work from within the stackblitz.com that we get referred to from here as well...
@prevwong Any suggestion? :)
I've been looking at the code and, it seems like the Renderer/index.tsx
doesn't handle the type FragmentView
and just returns null
for that.
I think this PR might be responsible for the error...
Any thoughts? @prevwong
Fixed in #137
Issue Description
I'm encountering an issue with the
01-react
example in thereka.js
library. After cloning the repository and setting up the example as per the instructions (runningnpm install
followed bynpm run dev
), I've noticed that the preview pane is not displaying any content. Additionally, there's a TypeScript error in theEditor.tsx
component.Steps to Reproduce
reka.js
repository.examples/01-react
.npm install
to install dependencies.npm run dev
to start the development server.Editor.tsx
.Expected Behavior
The preview pane should display the output corresponding to the code written in the editor.
Actual Behavior
The preview pane remains empty, regardless of the code entered in the editor.
TypeScript Error Details
Editor.tsx
Property 'children' does not exist on type 'Template'.ts(2339)
Thanks in advance for any help and the great work with this amazing library! :)