github 0xGF/boneyard v1.7.6

latest releases: v1.8.1, v1.8.0, v1.7.9...
one month ago

Fixes

Fix skeleton bones not rendering on first frame in Next.js App Router (#59)

The mounted flag used useEffect which fires after paint, causing bones to not appear until frame 3. Switched to useLayoutEffect so bones render on the first visible client frame. Fixes blank skeleton flash for short loading states. Affects React and Preact.

Fix Angular component import error

The Angular package was shipping raw TypeScript instead of pre-compiled JavaScript, causing "Standard Angular field decorators are not supported in JIT mode" errors in Angular 17+. The component is now compiled with ngc using Ivy partial compilation, and the CLI correctly detects and captures skeletons in Angular projects.


npm install boneyard-js@1.7.6

Don't miss a new boneyard release

NewReleases is sending notifications on new releases.