-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/changelog filter #168
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
base: dev-3.0
Are you sure you want to change the base?
Conversation
|
typecheck issues aren't from our code |
| useEffect(() => { | ||
| if (typeof window === "undefined") return | ||
|
|
||
| const changelogItems = document.querySelectorAll(".changelog-item") |
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.
These are direct DOM style manipulations instead of React state
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.
I think the DOM style manipulations are necessary because the only react component is the filtering piece and the rest are coming from an astro component and all the filtering is client side. We aren't loading the list of changelog items into a React component, but rendering them directly to the DOM.
IMPORTANT: Please do not create a Pull Request without creating an issue first.Any change needs to be discussed before proceeding.
Closing issues
closes 156 from search repo
...
Description
...
Changes