/migrate-to-reasonml

The slide for a talk about migrating to ReasonML

Primary LanguageJavaScript

  1. Setting working environment
  2. Reason for beginner Records in Reason are defined similarly to JS’ objects (but they are not objects — they are fixed in fields names and types and they are translated into JavaScript’s arrays which makes them really efficient).
  3. Compare ReasonReact and ReactJS
  4. How to add Reason in your project

Someone came into our discord channel a few days ago asking “Is Reason suitable for migrating a large production JavaScript codebase incrementally?” I answered “Yes, but wait 6 months.” 6/23 https://jaredforsyth.com/2017/06/23/when-will-reasonml-be-ready/

Design the data not code => Code as data

Code https://github.com/GuillaumeSalles/resuggest

Article

https://protoship.io/blog/2017/05/10/an-invitation-to-reasonml.html Hindley–Milner type inference algorithm http://szymonkaliski.com/blog/2017-05-31-exploring-reasonml/

https://medium.com/@rlucha/reasonml-first-impressions-79f81ccfcf19 https://github.com/rlucha/reasonml-minimal-config https://facebook.github.io/reason/jsWorkflow.html 7/5

https://jaketrent.com/post/unit-testing-in-reasonml/ 7/17 https://jaketrent.com/post/tdd-reasonml-function/ 7/21 https://medium.com/netscape/a-journey-to-reason-2c2c4cddc012 8/16 https://blog.hackages.io/when-reason-meets-graphql-90c66eb5570a 8/30 https://blog.hackages.io/reasonml-ppx-8ecd663d5640 9/28 https://medium.com/@alanhietala/bringing-reasonml-into-an-existing-react-app-d1006a72433b 10/2 https://medium.com/@javierwchavarri/building-the-super-tiny-compiler-with-reason-part-1-21460cd4ae7b 10/4 https://blog.softwaremill.com/frontend-in-reasonml-and-react-3cc86ad6f4e3 10/25 https://medium.com/@kasperpeulen/10-features-from-various-modern-languages-that-i-would-like-to-see-in-any-programming-language-f2a4a8ee6727 11/9

Video https://www.reactiflux.com/transcripts/cheng-lou/ 1/12 https://pusher.com/sessions/meetup/reactivate-london/a-pragmatists-guide-to-reasonmla 16 mins April 2017 https://blog.reactiveconf.com/reactiveconf-chatting-with-jared-forsyth-cee539d91948 8/25 Reactive Conf https://www.youtube.com/watch?v=gZweJw_egaE&feature=youtu.be 37 mins 9 React London https://www.youtube.com/watch?v=k77aR_JyvEE 30 mins 10/2 ReactNext

Podcast https://thewebplatformpodcast.com/143-introducing-reasonml 1 hour

RN https://blog.behrends.io/how-to-setup-reasonml-for-a-react-native-project-8c51f1cc1d34 6/27

https://medium.com/@chenglou/cool-things-reason-formatter-does-9e1f79e25a82 6/14 https://medium.com/@chenglou/mareo-reason-bucklescript-mario-205ce4c1cbe5 6/20

https://jaredforsyth.com/2017/11/12/advanced-reasonreact-hider-order-components/