diff --git a/haxe_libraries/tink_hxx.hxml b/haxe_libraries/tink_hxx.hxml index 2739de7..c650165 100644 --- a/haxe_libraries/tink_hxx.hxml +++ b/haxe_libraries/tink_hxx.hxml @@ -1,6 +1,6 @@ -# @install: lix --silent download "gh://github.com/haxetink/tink_hxx#0d6cda883d5ef4c1186dbad476e016b98aad68b8" into tink_hxx/0.25.0/github/0d6cda883d5ef4c1186dbad476e016b98aad68b8 +# @install: lix --silent download "gh://github.com/haxetink/tink_hxx#62a00c12a3ba8d14ea6f0df18bdb31d80f6a0054" into tink_hxx/0.25.0/github/62a00c12a3ba8d14ea6f0df18bdb31d80f6a0054 -lib html-entities -lib tink_anon -lib tink_parse --cp ${HAXE_LIBCACHE}/tink_hxx/0.25.0/github/0d6cda883d5ef4c1186dbad476e016b98aad68b8/src +-cp ${HAXE_LIBCACHE}/tink_hxx/0.25.0/github/62a00c12a3ba8d14ea6f0df18bdb31d80f6a0054/src -D tink_hxx=0.25.0 \ No newline at end of file diff --git a/src/coconut/react/View.hx b/src/coconut/react/View.hx index 470be3e..70079b3 100644 --- a/src/coconut/react/View.hx +++ b/src/coconut/react/View.hx @@ -33,6 +33,9 @@ class ViewBase extends NativeComponent<{ revision: Int }, {}, ImplicitContext> { mounted:Void->Void, updated:Void->Void, unmounting:Void->Void + #if tink_state.debug + , ?toString:()->String + #end ) { js.Syntax.code('{0}.call(this)', NativeComponent); this.__react_state = { revision: 0 }; diff --git a/src/coconut/react/macros/HXX.hx b/src/coconut/react/macros/HXX.hx index 4f61fc5..fc8c266 100644 --- a/src/coconut/react/macros/HXX.hx +++ b/src/coconut/react/macros/HXX.hx @@ -4,12 +4,7 @@ package coconut.react.macros; import tink.hxx.*; class HXX { - - static public var defaults(default, never) = new tink.priority.QueueTag>>>>(); - - static public var generator = new Generator(function () - return [for (group in defaults) for (tag in group.get()) tag] - ); + static public var generator = new Generator(); static public function parse(e) return coconut.ui.macros.Helpers.parse(e, generator, 'coconut.react.View.createFragment');