[x3d-public] typescript?
John Carlson
yottzumm at gmail.com
Sat Mar 8 19:00:53 PST 2025
I think it might be more important to get X3D co-existing with React,
Next.js, Angular (TypeScript), Vue.js, Svelte, SvelteKit, Solid, Meteor
etc. I’m guessing X3DOM or DOM/JSON is the best way to do this. Holger
and Michalis can chime in on possibilities. Tutorials or how-to’s would be
good. I’ve used Meteor 1 and X3DOM together. THREE and React appear to be
a good combo. Perhaps we can make JSON work, without relying on DOM.
Currently, AFAIK, we convert JSON to DOM. A full JSON+Proxy implementation
of X3D might work. I don’t know how to build an X3D browser, which is why
I’ve relied on others.
I think currently people are moving away from TypeScript to JSDoc, there’s
no extra transpiling step for browsers, and probably comparable type safety
in IDEs.
I don’t know if TypeScript will get serious consideration for web
browsers. AFAIK, type safety in the language means extra checks, which
AFAIK, slows down browsers, but I could be wrong. Adding typesafety
probably enhances security.
I think it’s more likely for WASM to get DOM, as they are working on a
shared heap between JS and WASM.
John
On Fri, Mar 7, 2025 at 10:46 PM Joe D Williams via x3d-public <
x3d-public at web3d.org> wrote:
> "TypeScript is a strongly typed programming language that builds on
> JavaScript, offering features like static typing, classes, and interfaces. "
>
> Is this typescript a tool for X3D?
>
> Thanks,
> Joe
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250308/2613f6e2/attachment.html>
More information about the x3d-public
mailing list