Skip to content

garrytrinder/spfx-servicescopes-hooks

master
Switch branches/tags
Code
This branch is 5 commits ahead of vman:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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%