mirror of
https://github.com/janishutz/fundamentals-of-webengineering.git
synced 2025-11-25 13:54:25 +00:00
Start framework refactor
This commit is contained in:
30
task_2_ts/ts/rendering/index.ts
Normal file
30
task_2_ts/ts/rendering/index.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
/*
|
||||
* fundamentals-of-webengineering - framework.ts
|
||||
*
|
||||
* Created by Janis Hutz 10/20/2025, Licensed under the GPL V3 License
|
||||
* https://janishutz.com, development@janishutz.com
|
||||
*
|
||||
*
|
||||
*/
|
||||
// Yes, I could not be arsed to keep track of state manually, so wrote a framework real quick that
|
||||
// does that for me. I am well aware that this is well over engineered, but it was a lot of fun
|
||||
// and no, this is *NOT* AI generated (I know Claude likes to hallucinate that kinda stuff)
|
||||
// I will be trying to somewhat follow Vue naming here, as that is what I am familiar with
|
||||
// (The only thing that is AI generated is the name of the little framework)
|
||||
//
|
||||
// It was also a nice exercise to get familiar with Generics in TypeScript, something I haven't
|
||||
// really used before
|
||||
|
||||
import {
|
||||
listRef
|
||||
} from './list';
|
||||
import {
|
||||
ref
|
||||
} from './primitives';
|
||||
|
||||
|
||||
export default {
|
||||
ref,
|
||||
listRef
|
||||
};
|
||||
Reference in New Issue
Block a user