Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref: components that were exporting a function now export an arrow function #23

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

juantejer4
Copy link

@juantejer4 juantejer4 commented Jan 10, 2024

⚡ Change components from functions to arrow functions in boilerplates - 86dr3pbxb

💻 What type of change is this?

  • 💎 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Styling
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build / CI

⭐ Description

Components went from this:

export function MyComponent () {
  // ...
}

To this:

export const MyComponent = () => {
  // ...
}

✅ Checklist

  • This PR can be merged (it is not a draft, work in progress, or blocked on another PR)
  • I have tested this change locally in multiple screen sizes
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@juantejer4 juantejer4 added the enhancement New feature or request label Jan 10, 2024
@gianfranco-rocco
Copy link

Lets merge this PR

@juantejer4 juantejer4 merged commit cc61fba into 10.x Jan 17, 2024
3 checks passed
@juantejer4 juantejer4 deleted the feature/CU-86dr3pbxb/arrow-functions branch January 17, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants