reading-notes

Reading Notes

View the Project on GitHub simon-panek/reading-notes

Code 401: Class 36 - Application State with Redux


Questions

  1. What are the advantages of storing tokens in “Cookies” vs “Local Storage”? It is better to store tokens in cookies because cookies are less susceptible to XSS attacks.

  2. Explain 3rd party cookies. 3rd party cookies are placed on a client by a creator other than the site that installs them, primarily used for tracking, advertisement targeting, and analysis

  3. How do pixel tags work? Pixel tags work like any other tag and are served just like other images, but they are intended to be invisible to the user. The image is served by an advertiser who then gains access to reading and recording the user cookies

Vocabulary

Watch: Dan Abramov Redux Tutorials

Read: React Redux

  import React from 'react'
  import ReactDOM from 'react-dom'

  import { Provider } from 'react-redux'
  import store from './store'

  import App from './App'

  const rootElement = document.getElementById('root')
  ReactDOM.render(
    <Provider store={store}>
      <App />
    </Provider>,
    rootElement
  )

Bookmark: Worlds easiest guide to redux

Bookmark: Testing Reducers

Bookmark: Redux Docs


Return to reading-notes Deployed Site

Return to reading-notes Mark Down