Closed cambiata closed 3 years ago
There's some previous discussion here: https://github.com/benmerckx/genes/issues/13
Basically there's no right way to handle init when files are split that I know of. For this specific issue you can declare it yourself or use -D react_no_inline
Ah, didn't know of -D react_no_inline
- it seems to work fine in my case.
Thanks!
When trying out genes together with haxe-react, I notice a that a symbol that is defined in the standard generated js output...
...is missing in the genes generated output, causing a runtime "Uncaught ReferenceError: $$tre is not defined" error.
If I add this missing definition in the genes generated output like the following...
...everything works fine.
So, it seems that the genes generator misses this
$$tre
definition - or at least never includes it in the generated code.Any ideas how to solve this?
/ Jonas