Skip to content
loading...
Lamno profile image Lamno

The Slack Redux Store

github logo ・1 min read  

The first Lamno course will teach you how to build a real Slack, and not just a toy version. As part of my research I wanted to see what the Slack Redux Store looks like.

In order to do this, first open React Dev Tools in Chrome and select the "Client" component.

Select Client in React Dev Tools

Then switch to the console and enter: $r.props.teamStore.getState(). This prints out the Redux Store for the team.

Alt Text

If you want to take a closer look at the store you can convert store to JSON: JSON.stringify($r.store.getState()). Copy the string and paste in your favorite editor.

twitter logo DISCUSS
We partner with the top technology companies to show you how they solve the most interesting problems.
Classic DEV Post from Aug 30 '19

SELECT Post FROM Stack Overflow Questions WHERE Topic = "git" ORDER BY Votes DESC;

Lamno profile image
Learn from and be hired by top technology companies