---
title: "Discussion on \"A pattern for functions in react js that boosted my work\" | Hashnode"
description: "Discussion on \"A pattern for functions in react js that boosted my work\". I had a problem looking my code react. The html part is very confuse, I always had so many parameters in each function, long lines, ugly code.\nconst itens = [...]\n\nconst send = (item, myUser) => {...}\nconst change = (myUser) => {...}\nconst del= (chat..."
url: "https://hashnode.com/posts/a-pattern-for-functions-in-react-js-that-boosted-my-work/5fccb547f4006d0b1bedf619"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A pattern for functions in react js that boosted my work](https://romulosardinha.hashnode.dev/a-pattern-for-functions-in-react-js-that-boosted-my-work?utm_source=hashnode&utm_medium=feed)

I had a problem looking my code react. The html part is very confuse, I always had so many parameters in each function, long lines, ugly code. const itens = \[...\] const send = (item, myUser) => {...} const change = (myUser) => {...} const del= (chat...

Dec 6, 2020 · 2 min read · romulosardinha.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#patterns](https://hashnode.com/tag/patterns)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)

## Written by

[Rômulo sardinha](https://hashnode.com/@RomuloSardinha)

@RomuloSardinha

  
[View profile](https://hashnode.com/@RomuloSardinha)

Serial entrepreneur, Software Engineer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
