rojo
rojo copied to clipboard
Add two way instance added
requires both https://github.com/rojo-rbx/rbx-dom/pull/233 https://github.com/rojo-rbx/rbx-dom/pull/232 to be accepted and to be pulled into rojo to work.
this PR adds instance added events to rojo so that we can later 2 way sync model.json. rbxm and rbxmx files. because of that this pr also adds ids created instances and adds that idea in the metadata.
found a flaw in my implementartion if you have mutliple $path that have the same path then this would make rojo not update all paths only the path you changed that means that rojo will get into an state where in it is not correct.
also implementation would also fire in some ceases where an instances where added by rojo what would create a instance added loop will change my implementation later to fix this issues.
Closing this since this needs to be fully redone