REDux pattern for HOTwire == Redhot

Single page applications using redux (react) are very popular. And with good reason, redux makes maintaining the current state of the app easy. For instance when building some kind of editor, every action of the user is added to the redux store. All actions can be reduced to the determine the current state of the editor. Views are rendered using the current state.Or when building a complex search page for a webshop. Whenever the user selects a category or price range to filter on this can be an action for the redux store. If the user hits the back button the last action can be deleted and the current state regenerated by reducing all remaining actions. The user only sees the last filter being reverted to what it was before.
REDux pattern for HOTwire == Redhot #ruby #rubydeveloper #rubyonrails #hotwire https://rubyonrails.ba/single/redux-pattern-for-hotwire-redhot

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles