v0.2.0
What's Changed
- fix: use .mjs for node compat by @CodyJasonBennett in f8970be
- fix(TS): move type deps to dependencies by @CodyJasonBennett in c5e4bfe
- refactor(core): attach on mount, correctly handle fiber handoff by @CodyJasonBennett in #24
- refactor: unify hooks, react-merge-refs => useImperativeHandle by @CodyJasonBennett in #25
- BREAKING: unify targets, flatten folder structure by @CodyJasonBennett in #26
This release does away with platform-specific imports (react-ogl/web
or react-ogl/native
) in favor of a unified target (react-ogl
).
// web
- import ... from 'react-ogl/web'
+ import ... from 'react-ogl'
// native
- import ... from 'react-ogl/native'
+ import ... from 'react-ogl'
Additional fixes improve internal stability when using concurrent features, suspense, and devtools.
Full Changelog: v0.1.6...v0.2.0