ohanhi / elm-native-ui

[CLOSED] Experiment: mobile apps in Elm using React Native.
BSD 3-Clause "New" or "Revised" License
1.54k stars 76 forks source link

[QUESTION] Having some trouble understanding the code #99

Closed giulianok closed 4 years ago

giulianok commented 4 years ago

I'm having a hard time trying to understand this here https://github.com/ohanhi/elm-native-ui/blob/master/src/NativeUi.elm#L69-L71

where is customNode defined for example?

ohanhi commented 4 years ago

This is old Elm. Current versions don't have Native modules anymore. But anyway, it's a reference to the function here: https://github.com/ohanhi/elm-native-ui/blob/master/src/Native/NativeUi.js#L112