Today I want to talk about React-Redux Hooks and how we can use them. Redux support for React Hooks was introduced with the release of React-Redux version 7.1, which provides two very helpful hooks: useSelector() and useDispatch().
While building out the react-redux frontend of my final Flatiron project I discovered a problem. Anytime the page refreshes the redux store gets wiped. This was especially problematic for the development stage since I was constantly tweaking my code and then losing my information in state upon the page reload.
For project number four in my Flatiron program we were assigned to make an application with a Javascript front end and a Rails API backend.
Today I want to talk about a very nifty gem to use when developing your code…
Another project week is coming to a close! And once again I have learned so much while working on this sinatra project. One of the primary requirements for this project was to include user accounts that have unique login attributes. In order to accomplish this and also ensure that the user information stored in the database is secure, I used a very cool Ruby gem called ‘bcrypt-ruby.’ I’ve always found the topic of cryptography fascinating so I decided I’d use this blog post to talk about how and why bcrypt can be used in programs to protect user information.