Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Elm for React developers

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

Elm for React developers

An intro to the Elm language and architecture, also showing ways to integrate Elm into a React/ Redux application.

Presented at: https://www.meetup.com/react-bucharest/events/238586263/

Sample code: https://github.com/zaboco/elm-and-react

Avatar for Bogdan Zaharia

Bogdan Zaharia

April 11, 2017
Tweet

More Decks by Bogdan Zaharia

Other Decks in Programming

Transcript

  1. Elm

  2. It’s a sort of test leftPad : Int -> Char

    -> String -> String leftPad count char original = -- implementation
  3. Include Elm as a <Component /> import Elm from 'react-elm-components';

    import { ElmApp } from ‘./build/elm.js'; <App> <Elm src={ElmApp} /> </App>
  4. Add flags const flags = { url: API_URL} <App> <Elm

    src={ElmApp} flags={flags}/> </App>