Skip to content

refactor: add @__NO_SIDE_EFFECTS__ annotations to all pure functions #4907

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

Merged
merged 20 commits into from
Jul 28, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
3dc5bd2
refactor: add treeshake annotation for `State` category
serkodev Jul 22, 2025
f4aee15
refactor: add treeshake annotation for `Elements` category
serkodev Jul 22, 2025
d34b929
refactor: add treeshake annotation for `Browser` category
serkodev Jul 23, 2025
70aaab1
refactor: add treeshake annotation for `Sensors` category
serkodev Jul 23, 2025
90135ee
chore: move `__NO_SIDE_EFFECTS__` into JSDocs
serkodev Jul 24, 2025
4a3917b
refactor: add treeshake annotation for `Animation` category
serkodev Jul 24, 2025
e3349f4
fix: `useVModel` JSDocs position
serkodev Jul 24, 2025
f64bff9
refactor: add treeshake annotation for `Component` category
serkodev Jul 24, 2025
331ba11
refactor: add treeshake annotation for `Reactivity` category
serkodev Jul 24, 2025
81d784e
refactor: add treeshake annotation for `Time` category
serkodev Jul 24, 2025
3cf0213
refactor: add treeshake annotation for `Array` category
serkodev Jul 24, 2025
79e5e4a
refactor: add full JSDocs to function overloads
serkodev Jul 24, 2025
83e0bdf
refactor: add treeshake annotation for lazy getter resolver functions
serkodev Jul 24, 2025
878d00a
refactor: add treeshake annotation for `Utilities` category
serkodev Jul 24, 2025
541af36
refactor: add treeshake annotation for `
serkodev Jul 24, 2025
a7d92d3
refactor: add treeshake annotation for `@Integrations` category
serkodev Jul 24, 2025
04f9b80
fix: update `useClamp` JSDocs position
serkodev Jul 24, 2025
bde435c
refactor: add treeshake annotation for `@Math` category
serkodev Jul 24, 2025
09bb0cf
refactor: add treeshake annotation for `@Router`, `@RxJS` category
serkodev Jul 24, 2025
e9e3936
Merge branch 'main' into refactor/side-effects
serkodev Jul 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: add treeshake annotation for @Integrations category
  • Loading branch information
serkodev committed Jul 24, 2025
commit a7d92d395ac3d5ffe76fdfbc43a44ccbc2f5e3d3
2 changes: 2 additions & 0 deletions packages/integrations/useChangeCase/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export function useChangeCase(input: MaybeRefOrGetter<string>, type: MaybeRefOrG
* Reactive wrapper for `change-case`
*
* @see https://vueuse.org/useChangeCase
*
* @__NO_SIDE_EFFECTS__
*/
export function useChangeCase(input: MaybeRefOrGetter<string>, type: MaybeRefOrGetter<ChangeCaseType>, options?: MaybeRefOrGetter<Options> | undefined) {
const typeRef = computed(() => {
Expand Down
2 changes: 2 additions & 0 deletions packages/integrations/useCookies/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export function createCookies(req?: IncomingMessage) {
* @param options.doNotParse - don't try parse value as JSON
* @param options.autoUpdateDependencies - automatically update watching dependencies
* @param cookies - universal-cookie instance
*
* @__NO_SIDE_EFFECTS__
*/
export function useCookies(
dependencies?: string[] | null,
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy