Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 2.42 KB

README.md

File metadata and controls

60 lines (38 loc) · 2.42 KB

spfx-skeleton

Summary

This repo contains skeleton code and the folder structure that is used for useContext and useReducer in SPFx webpart. By doing this, you can implement global in your app which makes easy to update and grab states.

You can refer to this article for detailed explanation of code used in this repo -> (https://www.sharepointpals.com/post/skeleton-code-for-global-state-management-using-usecontext-usereducer-in-spfx-solution)

Used SharePoint Framework Version

version

Applies to

Get your own free development tenant by subscribing to Microsoft 365 developer program

Prerequisites

Any special pre-requisites?

Solution

Solution Author(s)
GlobalStateSkeleton (Fazil, twitter: @AhamedFazilB)

Version history

Version Date Comments
1.0 March 13, 2021 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • Clone this repository
  • Ensure that you are at the solution folder
  • in the command-line run:
    • npm install
    • gulp serve

Include any additional steps as needed.

References