Skip to content

alexlorenzo21/spfx-servicescopes-hooks

 
 

Repository files navigation

SPFX Service Scopes Hooks

This fork takes the great example provided by @vman and takes a "full hooks" approach to simplifying the codebase

  • Replaces Class Components with Functional Components
  • Removes the Higher Order Component in favour to useContext()
  • useEffect() used instead of componentDidMount()
  • useState() used instead this.setState()

About

SPFx: Using React hooks to globally share service scopes between components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 59.9%
  • CSS 32.3%
  • JavaScript 7.8%