TyphonJS Runtime Library v0.0.9 - Release Candidate

MMLeahy4/17/2022
Alrighty! The TyphonJS Runtime Library (TRL) v0.0.9 is out... In the last 2 weeks+ I have done massive work on the Position system that is backward compatible w/ the Foundry system / data, but brings reactive position capabilities to Application development. Now this new system can be applied to any HTML element and not just applications. It's pure JS, but is truly unlocked when you use it w/ Svelte. The demo video is long, but shows some very neat things. Use the timecode links to jump around. Check around the middle to get an idea of the massive performance boost applied to bespoke HTMLElements.

My intention is that this tech can power a very versatile cards implementation compared to going a full 3D / WebGL approach.

I'm spending the next 1-2 weeks completing an advanced animation system to go along with it and eeking out even more performance.

Anyway... highlights:
- Massive performance increase
- Ability to apply Position to any HTML element (no longer just Applications)
- See applyPosition for usage in Svelte (check box demo).
- New transform validator that works with browser or element bounds. By default SvelteApplication uses it.
- resizeObserver action for better cross-browser offsetWidth / Height monitoring.

You can swing on by my Discord / #typhonjs-runtime channel to have a chat: https://discord.gg/mnbgN8f
Demo repo in video here: https://github.com/typhonjs-fvtt-demo/essential-svelte-esm

Cheers!
https://www.youtube.com/watch?v=nWHRZcOhsRA
UUUnknown User4/17/2022
Message Not Public
Sign In & Join Server To View
MMLeahy4/17/2022
Yeah.. it's definitely a challenge so to speak for system developers as so many are dependent on the existing ActorSheet / ItemSheet / DocumentSheet angle. I am certainly interested in finding some sort of Svelte powered option, but that is tricky. Also I'm not a system dev, so don't have that immediate crunch to solve this problem. Hopefully this year for sure!

And Hopefully I can somewhat be involved in the App v2 discussion. Things like the position system I've created took me 2 months of full time dev. 😮 Pure JS and would work w/ the existing App v1 infrastructure let alone App v2. Certainly would consider offering it up for App v2 API. Can't see the core team expending a developer for 2+ months creating the same type of thing.
UUUnknown User4/18/2022
Message Not Public
Sign In & Join Server To View
MMLeahy4/18/2022
Not all too much known or announced yet other than it is "coming"... Might be spread across several release cycles.
UUUnknown User4/18/2022
Message Not Public
Sign In & Join Server To View
LTLLLeo The League Lion4/18/2022
@Nekro Darkmoon gave :vote: LeaguePoints™ to @TyphonJS (Michael) [UTC-7] (#17 • 132)