How to extend Javascript Class in Clojurescript?

Hi, I am trying to use a javascript react-native library in expo and I am not sure how to express the Javascript code in Clojurescript. It is an Svg drawing library to draw shapes (https://docs.expo.io/versions/v33.0.0/sdk/svg/) and the javascript I am not sure how to express is the: export default class App extends Component, I 've found this clojurescript resource (https://github.com/clojure/clojurescript/wiki/Working-with-Javascript-classes) but I am still not sure how to apply it. Can someone help?

AFAIK ClojureScript has no support to emit ES6 code, so it cannot support new JS features directly.
Maybe this would help?

Hi, thanks for replying, yes I saw the thread right after I posted the question. I will try it again and see what I get.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.