appsmithorg / appsmithorg/appsmith

(JS-0428) Avoid using spreading operator for JSX props

Open
#7,135 13 comments 0 reactions 1 assignee Claimed by @bhavin-a View on GitHub
Frontend Medium effort Refactor Task
Dominant language
TypeScript
Stars
40.9k
Forks
4.8k
Avg merge
1d 22h
Merged PRs (30d)
45

Description

## Description
We recommend passing props separately to the component instead of using a spread operator for any JSX props. Here are some reasons to avoid the use of the spreading operator: - Readability -- being more explicit about what props are received by the component is straightforward. - Maintainability -- helps …

## Occurrences
There are 392 occurrences of this issue in the repository.

See all occurrences on DeepSource → [deepsource.io/gh/appsmithorg/appsmith/issue/JS-0428/occurrences/](https://deepsource.io/gh/appsmithorg/appsmith/issue/JS-0428/occurrences/)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.