Skip to content

Releases: pmndrs/its-fine

v1.0.8

18 Dec 21:43
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.7...v1.0.8

v1.0.7

13 Dec 12:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.6...v1.0.7

v1.0.6

11 Oct 09:17
Compare
Choose a tag to compare

What's Changed

  • chore(docs): add missing useFiber by @dcousens in #18
  • fix(traverseFiber): skip siblings when ascending by @adventful in #19

New Contributors

Full Changelog: v1.0.5...v1.0.6

v1.0.5

28 Sep 23:47
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.4...v1.0.5

v1.0.4

27 Sep 11:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

27 Sep 03:07
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.2...v1.0.3

v1.0.2

26 Sep 16:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.0.2

v1.0.1

22 Sep 17:54
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

21 Sep 18:47
Compare
Choose a tag to compare

What's Changed

This release implements a <FiberProvider /> component that binds calls to useFiber to the React Fiber tree. This ensures that components get a consistent reference to their respective Fiber regardless of their environment. As such, its-fine is now stable and the API has matured.

Note: pmndrs renderers like react-three-fiber implement this internally to make use of useContextBridge, so you would only need this when using hooks inside of react-dom or react-native.

import * as ReactDOM from 'react-dom/client'
import { FiberProvider } from 'its-fine'

function App() {
  const fiber = useFiber()
}

createRoot(document.getElementById('root')!).render(
  <FiberProvider>
    <App />
  </FiberProvider>,
)

Full Changelog: v0.2.1...v1.0.0

v0.2.1

07 Sep 02:29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.2.1