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

Change tags buttons to links #347

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Change tags buttons to links #347

merged 1 commit into from
Nov 14, 2023

Conversation

mruwnik
Copy link
Collaborator

@mruwnik mruwnik commented Nov 9, 2023

const pageIds = questions?.map((q) => q.pageid).join(QuestionState.COLLAPSED)

useEffect(() => {
const fetcher = async () => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the obvious downside of this is that there will be loads of extra queries flying around

Copy link
Collaborator

Choose a reason for hiding this comment

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

if we have them cached in CF, it should be fine 🤞

const pageIds = questions?.map((q) => q.pageid).join(QuestionState.COLLAPSED)

useEffect(() => {
const fetcher = async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

if we have them cached in CF, it should be fine 🤞

@mruwnik mruwnik merged commit 60c574b into master Nov 14, 2023
1 check passed
@mruwnik mruwnik deleted the tag-links branch November 14, 2023 09: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.

2 participants