Skip to content

Commit 365584f

Browse files
author
menelike
committed
don't handle Meteor.isServer as it's already been taken care of in exports
1 parent ddfb7cd commit 365584f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/react-meteor-data/useTracker.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ function areHookInputsEqual(nextDeps, prevDeps) {
6363
}
6464

6565
function useTracker(reactiveFn, deps) {
66-
// When rendering on the server, we don't want to use the Tracker.
67-
// We only do the first rendering on the server so we can get the data right away
68-
if (Meteor.isServer) {
69-
return reactiveFn();
70-
}
71-
7266
const previousDeps = useRef();
7367
const computation = useRef();
7468
const trackerData = useRef();

0 commit comments

Comments
 (0)