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

Reactive Application in Rails

Reactive Application in Rails

Talking about how to build reactive application in Rails with Stimulus Reflex

Philip Lambok

March 19, 2021
Tweet

More Decks by Philip Lambok

Other Decks in Programming

Transcript

  1. What is reactive programming? 2 Reactive programming is a declarative

    programming paradigm concerned with data streams and the propagation of change [wikipedia] declarative programming is a programming paradigm that expresses the logic of a computation without describing its control flow
  2. What is reactive programming? 3 Reactive programming is a declarative

    programming paradigm concerned with data streams and the propagation of change [wikipedia]
  3. Let’s create SPA in Rails, only with Ruby without writing

    a single line of javascript code. Reactive application in Rails
  4. - Faster development (simpler) rather than creating SPA with react,

    vue.js, etc. - Less switching context because more ruby and less javascripts. - The app has nice latency metrics. - More smaller size (in todo app) only 54kb, while in react 268kb, and in vue.js is 78kb. Conclusion