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

fix(html): faster theme picking #187

Closed
wants to merge 2 commits into from
Closed

fix(html): faster theme picking #187

wants to merge 2 commits into from

Conversation

aleksasiriski
Copy link
Member

@aleksasiriski aleksasiriski commented Mar 28, 2024

Is this faster @matijakljajic ?

Copy link

cloudflare-workers-and-pages bot commented Mar 28, 2024

Deploying hearchco-frontend with  Cloudflare Pages  Cloudflare Pages

Latest commit: 98c4b80
Status: ✅  Deploy successful!
Preview URL: https://d167b3b1.hearchco-frontend.pages.dev
Branch Preview URL: https://faster-theme.hearchco-frontend.pages.dev

View logs

Copy link
Member

@matijakljajic matijakljajic left a comment

Choose a reason for hiding this comment

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

It appears so even though it's still not instant. :(

In the end, the use of session storage is just a preference.

We can leave it like this as it won't be seen because theme picking will probably reside in the settings modal I plan on doing. #186

It's your call.

@aleksasiriski
Copy link
Member Author

theme picking will probably reside in the settings modal

If that's the case, I wouldn't merge this since it makes code less readable, having it in layout makes more sense for the project structure.

@aleksasiriski aleksasiriski deleted the faster-theme branch March 29, 2024 11:37
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