Skip to content

This repo gives skeleton structure of spfx solution that gives good start your solution.

Notifications You must be signed in to change notification settings

ahamedfazil/spfx-skeleton

Repository files navigation

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

About

This repo gives skeleton structure of spfx solution that gives good start your solution.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published