amorphous
OOneJS
•Created by amorphous on 9/15/2024 in #general-discussion
Migrating from v1 -> v2
Open Questions So Far
1. OneJS's
preact
(or its types?) seems to be incomplete compared to what we had in v1. The most prominent is the import { Style } from "preact/jsx"
definition, which was a part of Scriptlib. Is that available in v2? (Other missing definitions include Fragment
and a lot of the pieces of JSXInternal
.
2. Do the onejs/comps
components still exist? (I can probably vendor them in if needed, but was curious)
3. Typescript complains if we reach into a C# class and use nested variables or functions; is there something I'm missing there? I generated the type defs from the ScriptEngine object.
4. I asked 5 months ago (?!) about how to handle actions, and got https://discord.com/channels/971959898655051806/971963260704260146/1231847737620697088 as an answer. Is this still the case?5 replies