exellian / rex

About A efficient, flexible, simple framework for building reactive UI-components.
1 stars 0 forks source link

Correct dereferencing of props-data #7

Open exellian opened 1 year ago

exellian commented 1 year ago

The templating language does not know what references are (everything is a value). In rust however we have to explicitly use references or clones in certain code positions. To generate rust-code we need to introduce clones at certain positions and use references where it is possible. For this, further investigation has to be done.