Skip to content

Instantly share code, notes, and snippets.

View supremeking23's full-sized avatar

Ivan Christian Jay Funcion supremeking23

View GitHub Profile

Introduction to the Redux Challenges

  • Redux is a predictable state container for JavaScript apps. It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. While you can use Redux with any view library, it's introduced here before being combined with React.


Redux: Create a Redux Store

  • Redux is a state management framework that can be used with a number of different web technologies, including React.
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')