-
Notifications
You must be signed in to change notification settings - Fork 136
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
Remove underscore from expensify-common and reduce usage of lodash and jQuery #718
Remove underscore from expensify-common and reduce usage of lodash and jQuery #718
Conversation
@puneetlath here is a new PR that have all commit signed |
@hungvu193 can you give it a once-over for good measure? |
Sure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
All yours @puneetlath :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Re: removing those rules, we should maybe call that out publicly, so that people know we should still try to follow them even if the linter says no. What do you think, @puneetlath?
@puneetlath @dangrous Who is brave enough to merge this one? 😄 |
🚀Published to npm in v2.0.15 |
@puneetlath @dangrous I've posted the announcement on #expensify-open-source |
Should we also upgrade expensify-common version in EApp? |
I think we should update in both LM and E/App @hungvu193. It's already merged in LM, here's the PR. |
Thanks for your information 😄 |
Rebased version of #704 PR, that were made to sign all commits. Slack thread
The original goal of this PR was to remove
underscore
,jQuery
, andlodash
from files that are connected toExpensiMark
so we can workletize these functions and enable thereact-native-live-markdown
to run parser on UI thread. We wanted to block usage of these libraries in the whole repo, however without knowing the use cases and without being able to test it inside the private Expensify reposthat uses some of these files, we decided to:underscore
from repo, since it's quite easy to do without testingunderscore
fucntions withlodash
versions because it doesn;t make. sene to re-write themExpensiMark
,Logger
,Src
so we can workletize functions from these files and run them on UI thread inreact-native-live-markdown
Fixed Issues
Expensify/App#42494
Tests
QA