This document summarizes a presentation about mastering SPFx in larger projects. It discusses state management with React and Redux, API management and security using Azure APIs, automated deployments with continuous integration and deployment, versioning solutions, and upgrading solutions. It also provides tips for debugging in production, splitting actions, creating global and reusable components, using PnP controls, and optimizing code quality.
14. Redux
Redux is a state container, it stores all of your
state in one place
The state is read only, the only way to change
state is to dispatch an action.
State can only be changed by pure functions or in
another term: Reducers. Redux Reducers take in
the previous state and an action object and
returns the next state.
22. SPFx => Client side
• User context, no delegated permissions
• No long running operations possible
• No complex/business logic
• Examples:
• PDF Creation
• Setting item level permissions
=> Azure API
26. Continuous Integration and Continuous
deployment
• Integration
• Testing
• Build errors
• Deployment
• Automated to dev
• On approval to acc and pro
36. Debugging in production
1. gulp clean
2. gulp serve --nobrowser
3. add at the end of the url the following url paramters:
&loadSPFX=true&debugManifestsFile=https://localhost:4321/temp
/manifests.js
4. confirm to load debug scripts
37. Split up actions (Redux)
• Gets really quick ‘dirty’
• Split up by functionality
• User actions
• SP lists