benawad / benawad/codeponder

React.SFC deprecated

Open
#117 1 comment 0 reactions 0 assignees View on GitHub
todo
Dominant language
TypeScript
Stars
282
Forks
45
PR merge metrics
No merged PRs in 30d

Description

This message appears in vscode when hovering on React.SFC

> @ deprecated
> as of recent React versions, function components can no longer be considered 'stateless'. Please use FunctionComponent instead.
>
> @ see — [React Hooks](https://redactjs.org/docs/hooks-intro.html)

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Search the TypeScript React codebase for React.SFC and inspect the related type usage; compare it with React.FunctionComponent and the deprecation guidance, then verify that the VS Code hover no longer reports the deprecated API.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.