-
2.3.0-1
- Added properties
viewIds
andviewInfos
properties to the object returned byuseJoinedViews
- Deprecated
views
property in favor ofviewIds
in object returned byuseJoinedViews
- Added optional
viewData
property to theCroquetRoot.sessionParams
prop (from@croquet/croquet2.0.0-42
) ReactModel.handleViewJoin
receives second argumentviewInfo
of typeViewInfo
ReactModel.handleViewExit
receives second argumentviewInfo
of typeViewInfo
- Added properties
-
2.2.1
- Bug fix: QFunc handlers survive minification
-
2.2.0
- Added
showChildrenWithoutSession
prop to CroquetRoot - Added
deferSession
prop to CroquetRoot - Added
useLeaveSession
hook - Added
useSetSession
hook - Added
useIsJoined
hook - Added
useSessionParams
hook - Renamed
useConnectedViews
touseJoinedViews
(old name still available as an alias) - Renamed
useCroquetSession
touseSession
(old name still available as an alias) - Renamed
useCroquetView
touseView
(old name still available as an alias) - Improved session transitioning: Application only re-renders when new connection is fully established
- Strengthened typing definitions
- Added
-
2.1.2
- Update @croquet/croquet to
^2.0.0-19
- Update @croquet/croquet to
-
2.1.1
- Update @croquet/croquet to
^2.0.0-18
- React Model uses
super.subscribe()
to subscribe to view-join and view-exit events
- Update @croquet/croquet to
-
2.1.0
- Optimize useConnectedViews to minimize rerenders
- Update CroquetRoot to not rerender when model changes
- Added
useModelSelector
hook - Updated typing annotations for
useModelRoot
-
2.0.2
- Export CroquetContext
-
2.0.1
- Reduce view-side handler invocations (using oncePerFrame)
- Model-side handler survives minification step
-
2.0.0
- Major new release with magic ✨