paulyoung / elm-native

NOT REMOTELY PRODUCTION READY experiment with Elm and `react-native`.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elm Native

Experimental support for writing React Native powered mobile applications in the Elm language.

Is This Production Ready?

Just to make it totally clear: No.

How does this work?

  • PoC.elm is the main "app" file -- where the actual application lives.
  • The ReactNative directory contains the Elm module that provides the types and bindings for React Native in Elm
  • index.ios.js makes the bridging between the compiled-to-JS Elm code and React Native

Screenshots

iOS Android

To Do

  • Basic PoC
    • Show something from Elm
    • Make basic VTree work
    • Add some kind of event handlers
  • Library
  • Styles
    • Basic types for styles
    • Support object type styles - transform styles and shadowOffset
    • Make enum type styles safer - currently all Strings
    • Allow the StyleSheet.create method for styles
  • Props
    • Improve event handlers - currently uses event handler ids
    • Support props besides styles and event handlers
    • Unify syntax for styles, handlers and other props

License

BSD (3-clause)

About

NOT REMOTELY PRODUCTION READY experiment with Elm and `react-native`.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 92.8%Language:Elm 4.5%Language:Objective-C 1.8%Language:Java 0.8%