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

Further reactification #1359

Merged
merged 7 commits into from
Sep 30, 2022
Merged

Further reactification #1359

merged 7 commits into from
Sep 30, 2022

Conversation

jtojnar
Copy link
Member

@jtojnar jtojnar commented Sep 29, 2022

Also fixes parcel-bundler/parcel#8382 by removing jQuery.

Replacing a global variable by a pseudo-global React context.
Let’s make it a React hook to allow caching the value.

Ideally, we would create the sharers once in EntriesPage and then pass them down
but that would break custom sharers since the `user.js` may take some time to load.
@jtojnar jtojnar added this to the 2.19 milestone Sep 29, 2022
Requires attaching App after `selfoss.loggedin` is updated.
The jQuery removal was long coming.
Since the next version of Fancybox is unfree, let’s switch to something else.
It is bit more maintained and looks better.
@jtojnar jtojnar marked this pull request as ready for review September 30, 2022 10:32
@jtojnar jtojnar merged commit 773db11 into master Sep 30, 2022
@jtojnar jtojnar deleted the more-reactification branch September 30, 2022 10:32
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.

Bundling jQuery using browserslist > 0.25% produces infinite recursion
1 participant