Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magellan Midstream Session 3 Agenda #44

Closed
2 of 30 tasks
coryhouse opened this issue Feb 26, 2020 · 0 comments
Closed
2 of 30 tasks

Magellan Midstream Session 3 Agenda #44

coryhouse opened this issue Feb 26, 2020 · 0 comments

Comments

@coryhouse
Copy link
Owner

coryhouse commented Feb 26, 2020

Review

Complete Demo app checklist

  • Async / await
  • Error handling
  • Lifting State
  • Persist state to localStorage (can mix with useLocalStorage hook)
  • Implement user role dropdown that uses reusable select
  • Implement page layout
  • Handle fast duplicate delete user clicks
  • Implement State machine for manageUsers page
  • Use promise.race to timeout a long-running API call
  • Implement login and redirect if user isn't authenticated
  • Lazy load routes and display spinner via Suspense

Modern Redux and best practices

  • Compare Redux branch to master
  • Hooks
  • Centralize state declaration

Reusable React Components

  • Slides
  • Add Storybook to project and document
  • Implement a reusable card component that accepts children
  • Export enum from button component that specifies the different types / sizes
  • Styling approaches
  • Create table component that implements as many potential states (outlined in checklist) as possible
  • Publish a reusable component to npm

Advanced React

  • Context
    • Create context branch that centralizes data. Compare with Redux
    • Use context to with best practices - Implement alert system
  • useReducer - Convert master to use this
  • useCallback - Extract useEffect logic to a function to show in action
  • useRef - Check isMounted to cancel async calls on unmounted components. Set focus on page load using imperative call.
  • Custom Hooks - See options in advanced
  • Compound Components - Implement 3 approaches and contrast

Securing Apps with Auth0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant