Skip to content

v1.3.1

Choose a tag to compare

@github-actions github-actions released this 08 Jun 10:15
· 39 commits to main since this release
5406539

Patch Changes

  • #17 582f100 Thanks @flyon! - Fixed an infinite recursion in linkedPackage. The exported function was spreading linkedPackage(packageName) (itself) into its own return value instead of delegating to coreLinkedPackage(packageName) from @_linked/core, so any call to import { linkedPackage } from '@_linked/react/package' followed by linkedPackage(...) immediately blew the stack with Maximum call stack size exceeded. Almost certainly the root cause of the "stack overflow during client hydration" symptom reported against 1.3.0.

    linkedPackage(name) now correctly returns { linkedComponent, linkedSetComponent, ...coreLinkedPackage(name) } — i.e. the React-only helpers plus everything @_linked/core's linkedPackage provides (linkedShape, linkedUtil, linkedOntology, registerPackageExport, packageExports, packageName, …).