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

feat(javascript): remove classes usage #156

Merged
merged 4 commits into from
Feb 22, 2022

Conversation

shortcuts
Copy link
Member

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-340

Changes included:

  • To improve consistency in our JavaScript, this PR removes the remaining class usage. Side effects seems to be positive, as we've reduced our bundle size.
  • Split types file in a types folder, as it was getting hard to read it.

There is no technical changes in this PR, mostly renaming and reformatting.

🧪 Test

CI :D

@shortcuts shortcuts self-assigned this Feb 22, 2022
@shortcuts shortcuts marked this pull request as ready for review February 22, 2022 17:05
Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that class are not ideal in js, there is no real reason to have them because we have object, I like this change even though I find it harder to read in general.

@shortcuts
Copy link
Member Author

even though I find it harder to read in general.

We could make it clearer in future iteration, I did not wanted to introduce too many changes in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants