Using Local Storage for handling in React

  • **Something to note*** If you are looking to make a transaction model in Rails, it will not work. Rails already has methods associated with “Transaction”. So you will need to name it something else. In my case, I used Sale.rb for my model.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store