SharePoint / SharePoint/sp-dev-docs

Is SPFx abandonware?

Open
#9,463 19 comments 21 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

area:spfx Needs: Author Feedback status:answered status:working-on-it type:question
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested
  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)
Additional environment details

No response

Issue description

The whole of the first page is just issues that haven't even been triaged. Running on old versions of Node, TypeScript and React. Does not work with the latest Graph toolkit.

My clients keep asking me to write SPFx apps for them as they think that the framework is fully supported. I, as a developer, can see that this is abandonware and should not be used for greenfield projects and existing solutions should be transitioned to something else.

Please provide guidance on an official doc page for business users advising them that SPFx is not suitable for production. Alternatively, provide guidance for developers on how to handle:

  1. Issues with outdated packages (e.g., use of volta to switch between node version, how to check what version of React or TypeScript your dependencies require, if you have build errors). In your docs, you mention that only Node v18 is supported but no practical guidance on how to switch between versions. It is not explicitly stated that a developer is not able to just update everything themselves. You don't mention anything about old TypeScript or React versions and that they can not be updated and that effort has to be made to seek older versions of your desired dependencies. Even with the proposed update to TS 4.9 that didn't happen, I still wouldn't be able to use TanStack Router.

  2. How to explain the embarrassing number of npm/pnpm warnings during the build process. I sometimes have to hand over my code to a client who wants to build the solutions themselves (via CI/CD) and so I'm stuck having to come up with excuses. We need a docs page that gives the right assurances which can just be sent to our clients (SecOps, DevOps, architects, PMs, etc...).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.