Skip to content

component v1.0.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 23:07
· 2 commits to main since this release
70cdc64

Major Changes

  • First stable release.

    BREAKING CHANGE: The component runtime has moved from @remix-run/ui back to @remix-run/component.

    The package provides a component runtime with browser rendering and hydration, server rendering, JSX runtimes, testing helpers, styles, and general-purpose mixins.

    import { createRoot, css, on } from '@remix-run/component'

    Applications using the remix package can access the same APIs from remix/component and its corresponding subpaths.

    For consumers upgrading from @remix-run/component@0.7, the addEventListeners, keysEvents, pressEvents, and PressEvent root exports are no longer available. Animation APIs are now imported from @remix-run/ui/animation:

    -import { animateEntrance, spring } from '@remix-run/component'
    +import { animateEntrance, spring } from '@remix-run/ui/animation'