An open API service indexing awesome lists of open source software.

https://github.com/ashot72/spfx-forums-hook

React SharePoint (SPFx) Forums Hooks
https://github.com/ashot72/spfx-forums-hook

forum hooks react react-hooks react-lazy sharepoint sharepoint-online spfx suspense

Last synced: about 2 months ago
JSON representation

React SharePoint (SPFx) Forums Hooks

Awesome Lists containing this project

README

          

I built a React Hooks based SharePoint SPFx forum. Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class. You have 90% cleaner code with Hooks. The app uses React built-in, our custom and third-party hooks and shows how to use code splitting with React.lazy and Suspense.

You can download the package from [here](https://github.com/Ashot72/SPFx-Forums-Hook/tree/main/sharepoint/solution/react-forums-hooks.sppkg) and upload it to your Tenant App Catalog to run the forum.

To get started.
```
Clone the repository

git https://github.com/ashotik/SPFx-Forums-Hook
cd SPFx-Forums-Hook

# installs dependencies
npm install

# creates release package which should be deployed in SharePoint app catalog
npm run deploy-prod

```

Go to [Forums Hooks (SPFx) Video](https://youtu.be/TKfQWAVdbOc) page

Go to [Forums Hooks (SPFx) description](https://ashot72.github.io/SPFx-Forums-Hook/index.html) page