Skip to content

Conversation

titouanmathis
Copy link
Contributor

πŸ”— Linked issue

#653

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This PR adds a new way of inspecting components by providing a logTree(instance) helper function.

  • Refine how this new function can be used
  • Define if it should be called inside of createApp in DEV mode automatically

Examples

Chrome Firefox
Capture d’écran 2025-08-13 aΜ€ 15 01 09 Capture d’écran 2025-08-13 aΜ€ 15 01 20

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have added tests (if possible).
  • I have updated the documentation accordingly.
  • I have updated the changelog.

Copy link

github-actions bot commented Aug 13, 2025

Export Size

@studiometa/js-toolkit

Name Size Diff
logTree 316 B +316 B (+100.00%) πŸ”Ί
createApp 1.56 kB +276 B (+21.50%) πŸ”Ί
HELPERS 2.68 kB +251 B (+10.34%) πŸ”Ί
FRAMEWORK 12.59 kB +216 B (+1.75%) πŸ”Ί
ALL 18.04 kB +208 B (+1.17%) πŸ”Ί
Unchanged

@studiometa/js-toolkit

Name Size Diff
AbstractService 512 B -
addClass 226 B -
addStyle 238 B -
animate 3.06 kB -
Base 7.53 kB -
BASE 7.6 kB -
boundingRectToCircle 154 B -
cache 179 B -
camelCase 401 B -
clamp 67 B -
clamp01 87 B -
collideCircleCircle 99 B -
collideCircleRect 159 B -
collidePointCircle 112 B -
collidePointRect 103 B -
collideRectRect 99 B -
createEaseInOut 116 B -
createEaseOut 71 B -
createElement 526 B -
createRange 90 B -
damp 78 B -
dashCase 376 B -
debounce 92 B -
DECORATORS 7.27 kB -
domScheduler 296 B -
DragService 1.87 kB -
ease 435 B -
easeInCirc 68 B -
easeInCubic 59 B -
easeInExpo 80 B -
easeInOutCirc 141 B -
easeInOutCubic 130 B -
easeInOutExpo 134 B -
easeInOutQuad 128 B -
easeInOutQuart 133 B -
easeInOutQuint 152 B -
easeInOutSine 151 B -
easeInQuad 63 B -
easeInQuart 61 B -
easeInQuint 62 B -
easeInSine 77 B -
easeLinear 49 B -
easeOutCirc 115 B -
easeOutCubic 103 B -
easeOutExpo 112 B -
easeOutQuad 103 B -
easeOutQuart 100 B -
easeOutQuint 103 B -
easeOutSine 121 B -
endsWith 88 B -
getAncestorWhere 91 B -
getAncestorWhereUntil 119 B -
getClosestParent 173 B -
getComponentResolver 138 B -
getDirectChildren 194 B -
getInstanceFromElement 90 B -
getInstances 146 B -
getOffsetSizes 159 B -
hasWindow 62 B -
historyPush 499 B -
historyReplace 503 B -
importOnInteraction 891 B -
importOnMediaQuery 236 B -
importWhenIdle 223 B -
importWhenPrefersMotion 275 B -
importWhenVisible 911 B -
inertiaFinalValue 142 B -
isArray 70 B -
isBoolean 78 B -
isDefined 86 B -
isDev 72 B -
isDirectChild 206 B -
isEmpty 207 B -
isEmptyString 93 B -
isFunction 72 B -
isNull 72 B -
isNumber 84 B -
isObject 105 B -
isString 86 B -
keyCodes 97 B -
KeyService 833 B -
lerp 57 B -
loadElement 169 B -
loadIframe 189 B -
loadImage 188 B -
loadLink 186 B -
loadScript 197 B -
LoadService 577 B -
lowerCase 60 B -
map 71 B -
matrix 106 B -
mean 91 B -
memo 100 B -
memoize 189 B -
MutationService 784 B -
nextFrame 162 B -
nextMicrotask 111 B -
nextTick 134 B -
noop 39 B -
noopValue 49 B -
objectToURLSearchParams 302 B -
pascalCase 377 B -
PointerService 1.05 kB -
Queue 226 B -
RafService 896 B -
random 64 B -
randomInt 77 B -
randomItem 211 B -
removeClass 222 B -
removeStyle 238 B -
ResizeService 990 B -
round 56 B -
saveActiveElement 56 B -
ScrollService 1.1 kB -
scrollTo 2.25 kB -
SERVICES 3.79 kB -
SmartQueue 411 B -
smoothTo 473 B -
snakeCase 378 B -
spring 115 B -
startsWith 87 B -
throttle 101 B -
toggleClass 225 B -
transform 325 B -
transition 916 B -
trapFocus 363 B -
tween 1.68 kB -
untrapFocus 45 B -
upperCase 54 B -
useDrag 1.9 kB -
useKey 847 B -
useLoad 592 B -
useMutation 819 B -
usePointer 1.08 kB -
useRaf 911 B -
useResize 1.01 kB -
useScheduler 290 B -
useScroll 1.12 kB -
UTILS 7.87 kB -
wait 79 B -
withBreakpointManager 1.4 kB -
withBreakpointObserver 1.59 kB -
withDrag 2.02 kB -
withExtraConfig 135 B -
withFreezedOptions 140 B -
withIntersectionObserver 260 B -
withLeadingCharacters 88 B -
withLeadingSlash 107 B -
withMountOnMediaQuery 322 B -
withMountWhenInView 286 B -
withMountWhenPrefersMotion 355 B -
withMutation 943 B -
withName 81 B -
withoutLeadingCharacters 86 B -
withoutLeadingCharactersRecursive 124 B -
withoutLeadingSlash 93 B -
withoutTrailingCharacters 98 B -
withoutTrailingCharactersRecursive 129 B -
withoutTrailingSlash 103 B -
withRelativePointer 1.21 kB -
withResponsiveOptions 2.25 kB -
withScrolledInView 2.77 kB -
withTrailingCharacters 96 B -
withTrailingSlash 120 B -
wrap 77 B -

@titouanmathis titouanmathis marked this pull request as draft August 13, 2025 13:08
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.

1 participant