rbxts-flamework / core

Flamework is an extensible game framework. It requires typescript and offers many useful features.
MIT License
112 stars 8 forks source link

Implicitly move constructor logic into onStart #22

Closed Fireboltofdeath closed 3 years ago

Fireboltofdeath commented 3 years ago

Property assignments are handled prior to to a component being setup which can cause issues at runtime (instance and attributes aren't valid)

All property assignments and constructor body (?) should be implicitly moved into onStart

Fireboltofdeath commented 3 years ago

https://github.com/rbxts-flamework/transformer/pull/3