WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
deno builin module manager (dmm)

we know : no need to install js module like in node (npm i ..) when running js/ts code using deno, deno will fetch the module and cach it (if not done) then run it but this don't mean no need for module built in for deno, I think to take real advantage of esm we need subcommand in deno cli : deno dmm

I imagin :

deno dmm update url1 url2

this will update all url1 ( old version ) used in any js/ts in the current directory to url2 ( new version ).

deno dmm outdate

show package need to be updated

...

this will make 90% of your code reutisable in other project and copy-past friendly, I mean we can copy one file content and use it other project without need to declare used module in import_map and without need to have import_map for orginize our modules.

Issue 2:
Since 1.31.2 it seems like files in types/ are included twice when including using compilerOptions.types in deno.json. First they're checked with .d.ts ending, then with .d.ts.d.ts ending (which wierdly enough works, even though the files does not exist). Then type checker complains that everything in the files are already declared.

Minimal steps to reproduce

Content of deno.json

{
"compilerOptions": {
"types": [
"./types/wat.d.ts"
]
}
}

Content of types/wat.d.ts

declare class wat {
static wat(): void;
}

Content of main.ts

console.log("Hello world!");

Outcome

Running deno check main.ts

TS2300 [ERROR]: Duplicate identifier 'wat'.
declare class wat {
~~~
at /typestest/types/wat.d.ts.d.ts:1:15

'wat' was also declared here.
declare class wat {
~~~
at /typestest/types/wat.d.ts:1:15

Findings

Including types using the pattern // @deno-types="../types/wat.d.ts" instead of deno.json: compilerOptions.types.wat makes the problem go away.

Possibly related to PR #18026

Everything is ok in previous version 1.31.1

Additional info

Platform: Windows 10 / Powershell / VS Code / Deno 1.31.2
Issue 1:
scipy.ndimage.measurements.label() has the following lines:

# Use 32 bits if it's large enough for this image.
# _ni_label.label() needs two entries for background and
# foreground tracking
need_64bits = input.size < (2**31 - 2)

I think that < should be replaced with >=.

Issue 2:
Not sure if this is a bug more an additional check / documentation issue but interpolate.interp1d gives an unexpected results with non-monotonic x data e.g. x=[1, 2, 2, 3], y=[1, 2, 3, 4] using the defaults. Trying the same with any of the spline methods raises an error (ValueError: Expect x to not have duplicates) I would expect the same behaviour from 'linear' rather than returning values?

Reproducing code example:

from scipy.interpolate import interp1d
x = [1, 2, 2, 3]
y = [1, 2, 3, 4]
my_interp = interp1d(x, y)
res = my_interp(x)
print(y, res)

#my_interp = interp1d(x, y, 'cubic') raises ValueError

from matplotlib import pyplot as plt
plt.plot(x, y, '-k.', label='Original')
plt.plot(x, out, '--rx', label='Interpolated')
plt.legend()

Scipy/Numpy/Python version information:

1.5.2 1.19.1 sys.version_info(major=3, minor=7, micro=0, releaselevel='final', serial=0)
Issue 1:
VSCode Version: 1.2.0 Insider

OS Version: Windows 10

Steps to Reproduce:

open the terminal panel

type some text

press Escape

What happens: the text is removed (that's expected), and the terminal panel is immediately closed (unexpected).

Issue 2:
Integrated terminal master issue: #143

Open question: Currently pressing esc will hide the terminal, this can be a problem for some terminal programs, for example vim. Perhaps this should be configurable?
Issue 1:
Describe the bug

Running existing packages/programs with the latest release of 0.23.0 gives an import error on MaskedArray.

Bounding the requirements to < 0.23.0 resolves this issue, but then it reverts to the older version although would be good to be on the latest release.

Steps/Code to Reproduce

Setup

$ pip install scikit-learn>=0.20.2

or

$ pip install scikit-learn==0.23.0

Code

from sklearn.utils.fixes import MaskedArray
....
<rest of your code>

Expected Results

No exception or a warning with an alternative solution to the above issue. A depreciation message if the class has been removed.

Although, from https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/utils/fixes.py#L20 it appears that this is due to be removed in 0.25.0.

Actual Results

ImportError while importing test module '/opt/atlassian/pipelines/agent/build/tests_package_name/module.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_package_name.py:7: in <module>
from package_name import H2OGradientBoostingModel
package_name/module.py:5: in <module>
from skopt import gp_minimize
/usr/local/lib/python3.6/site-packages/skopt/__init__.py:54: in <module>
from .searchcv import BayesSearchCV
/usr/local/lib/python3.6/site-packages/skopt/searchcv.py:16: in <module>
from sklearn.utils.fixes import MaskedArray
E ImportError: cannot import name 'MaskedArray'

Versions

0.23.0

Issue 2:
In scikit-learn 0.23.0:

>>> import skopt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "venv/lib/python3.6/site-packages/skopt/__init__.py", line 54, in <module>
from .searchcv import BayesSearchCV
File "venv/lib/python3.6/site-packages/skopt/searchcv.py", line 16, in <module>
from sklearn.utils.fixes import MaskedArray
ImportError: cannot import name 'MaskedArray'

There was no deprecation warning in earlier version - now any library that relied on this (e.g. scikit optimize) is broken.
Issue 1:
More of a feature request. It would be really nice if there were generic drop-downs. They would be useful for options and configuration buttons/cog wheels.

Instead of attaching them to tabs/nav, they could also be using for small buttons a la Google +

Issue 2:
Quite simply, the nav-list's active list-item can be rather off if you enter a page at any other point besides the very top.

In the above example, I entered the page via the following link: http://twitter.github.com/bootstrap/javascript.html#collapse and then clicked on 'Typeahead' on the left-side nav-list to go to it. As you can see, the menu put the active class onto 'Dropdown' instead of the correct item. The same error occurs if you reload the page while your window is not at the top, and scrolling has the same issue as clicking on a link.

I've tried this in both Chrome Version 24.0.1312.56 m & Firefox Nightly 20.0a1 on Win7 x64, and had the same issue on both. IE7, 8 and 9 don't have the problem.

Apologies if this issue already exists, I tried searching through the Scrollspy cases but found nothing.
Issue 1:
I am building react js app based on nextjs boilerplate.

I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Check if router has previous url or not.

Current Behavior

The tab is being closed on router.back()

Steps to Reproduce (for bugs)

router.back()

Context

I need to get the previous url to redirect the user back to the page after signin in my app. It works fine if there is any other page visited before the signin page. But when user directly open signin page in new tab, there will be no previous url. So in router.back() it closes the tab.

Your Environment

Tech
Version

next
^3.2.2

node
9.4.0

OS
MacOS Sierra 10.12.6

browser
Google Chrome Version 65.0.3325.181

Issue 2:
Examples bug report

Example name

Lazy Loading Modules

https://github.com/zeit/next-learn-demo.git

Step : E2-lazy-loading-modules

Describe the bug

npm run dev causes runtime issues and the server does not start. Faces the same issue with E3 as well.

I am using Windows 10 for the tutorials

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

npm install

npm run dev

Expected behavior

The app starts on port 3000

Screenshots

If applicable, add screenshots to help explain your problem.

C:\workspace\next-learn-demo\E2-lazy-loading-modules>npm run dev

> hello-next@1.0.0 dev C:\workspace\next-learn-demo\E2-lazy-loading-modules
> node server.js

[ error ] ./node_modules/next/dist/client/next-dev.js 36:6
Module parse failed: Unexpected token (36:6)
You may need an appropriate loader to handle this file type.
|
|
> import('./noop'); // Support EventSource on Internet Explorer 11
|
| if (!window.EventSource) {
> Ready on http://localhost:3000
TypeError: Cannot read property 'issuer' of null
at findEntryModule (C:\workspace\next-learn-demo\E2-lazy-loading-modules\node_modules\next\dist\server\hot-reloader.js:60:16)
at erroredPages (C:\workspace\next-learn-demo\E2-lazy-loading-modules\node_modules\next\dist\server\hot-reloader.js:68:29)
at HotReloader.getCompilationErrors (C:\workspace\next-learn-demo\E2-lazy-loading-modules\node_modules\next\dist\server\hot-reloader.js:308:33)
at process._tickCallback (internal/process/next_tick.js:68:7)
TypeError: Cannot read property 'issuer' of null
at findEntryModule (C:\workspace\next-learn-demo\E2-lazy-loading-modules\node_modules\next\dist\server\hot-reloader.js:60:16)
at erroredPages (C:\workspace\next-learn-demo\E2-lazy-loading-modules\node_modules\next\dist\server\hot-reloader.js:68:29)
at HotReloader.getCompilationErrors (C:\workspace\next-learn-demo\E2-lazy-loading-modules\node_modules\next\dist\server\hot-reloader.js:308:33)
at process._tickCallback (internal/process/next_tick.js:68:7)

System information

OS: Windows 10

Version of Next.js: 8.0.3 (https://github.com/zeit/next-learn-demo.git)

Additional context

The same issue is in the E3 example as well and cannot proceed further in the tutorial.
Issue 1:
🚀 Feature

Add an op that performs 'and' and 'or' on a bitwise level.

For example:

a = torch.LongTensor([3]) # b'11'

b = torch.LongTensor([2]) # b'10'

torch.bitwise_and(a,b) # 2 == b'10'

Motivation

As of now, logical_and and logical_or always return bool, and if one wishes to get the bitwise result, there is no solution available.

Pitch

A recent implementation of bitwise_xor is very similar to what I am describing:

bd0394d

Issue 2:
In cudnn rnn backend, setDropoutDescriptor is called at every step:

https://github.com/pytorch/pytorch/blob/master/torch/backends/cudnn/__init__.py#L220

which means that rng states will be re-initialized at every step from the same seed, and dropout will generate the same randoms at every step.

@adamlerer
Issue 1:
For a given js file, which contains only a large map such as below -

-----------------------‐---------f.js-----------------------‐-------------

module.exports = {"A":"1", "B":"2", "C":"3", ...}

-----------------------‐--------------------------------‐-------------------

And with preset as 'es2015', Babel keeps the file unchanged till some occurrences. But beyond a count, it replaces the latter instances of the map with _defineProperty(_module$exports, "Z", "26");

How can this threshold be adjusted?

Issue 2:
Bug Report

Current Behavior

regeneratorRuntime is not defined when running in a browser.

"use strict";

function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }

function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }

_asyncToGenerator(
/*#__PURE__*/
regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return Promise.resolve();

case 2:
case "end":
return _context.stop();
}
}
}, _callee);
}))();

Input Code

REPL or Repo link if applicable:

(async function(){await Promise.resolve()})()

Expected behavior/code

The code should run without errors.

Babel Configuration (.babelrc, package.json, cli command)

{
"presets": [[
"@babel/preset-env", {
"useBuiltIns": "entry",
"corejs":3
}]]
}

Environment

Babel version(s): v7

Node/npm version: Node 10.14.5/NPM 6.9.0

OS: OSX 10.14.5

Monorepo: no

How you are using Babel: cli

Possible Solution

Additional context/Screenshots

Add any other context about the problem here. If applicable, add screenshots to help explain.
Issue 1:
React DevTools version: 4.9.0-75726fadfd

Steps To Reproduce

Install React DevTools into Chrome 86

Observe Chrome errors loading source maps for React DevTools.

Link to code example:

None

The current behavior

DevTools failed to load SourceMap: Could not load content for chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/injectGlobalHook.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load SourceMap: Could not load content for chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/react_devtools_backend.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load SourceMap: Could not load content for chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/contentScript.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

The expected behavior

Show no errors.

Workaround

Disable JavaScript source maps in Chrome DevTools (Open Chrome DevTools, click three dots menu in upper right corner, find Settings under More Tools. Uncheck "Enable JavaScript source maps".)

Workarounds that don't work:

Remove all .map files in ~/.config/google-chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/4.9.0_0/build/.

Remove all .map files from ~/.config/google-chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/4.9.0_0/

Edit each .js file in ~/.config/google-chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/4.9.0_0/build/ to remove the line with //# sourceMappingURL=. This changes the hash of each file and Chrome will refuse to load the extension.

Other Notes

OS: Manjaro Linux

Issue 2:
Describe what you were doing when the bug occurred:

1.

2.

3.

Please do not remove the text below this line

DevTools version: 4.3.0-3e0967783

Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159833

at Map.forEach ()

at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159779)

at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:160302)

at Sl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:322998)

at ii (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59363)

at qi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:67999)

at Sl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:108660)

at Ic (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:99973)

at Tc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:99898)

Component stack: in Sl

in div

in div

in div

in vo

in Unknown

in n

in Unknown

in div

in div

in Qi

in Ve

in nn

in Da

in Yc
Issue 1:
Hi,

I don't know if it has already been discussed (I suppose it has but cannot find the related issue): is there any plan to add some new placements for popovers like bottom-left, top-right, etc?

I have implemented it on my side in tooltip.js / tooltip.less, it is not so intrusive (i.e. it does not break the existing placement option), only the 'auto' option might behave differently.

Issue 2:
As well as specifying top, right, bottom and left, it would also be useful to be able to specify top-right, top-left, right-top, right-bottom, bottom-right, bottom-left, left-top and left-bottom. Without these options, tooltips/popovers added to elements in the corner of the window will overlap the window itself (in some way or another).

Here's an example of bottom-right (which could be used to add a tooltip/popover to an element that is in the top left corner:

http://jsfiddle.net/fZTm4/3/
Issue 1:
I use webrtc of Electron(3.0.0-beta.6) for video meetting, I can see peer video for chrome,but chrome can't see my video.

if config to V8, it's fine,but config h264,it's error.

if i use Electron(2.0.7),chrome can see my video,but I can't see other video,but ui is overlapping.

console print these log:

[99769:0822/173441.318182:ERROR:webrtcvideoengine.cc(676)] No video codecs supported.

Issue 2:
Hi,

Starting from atom-shell 0.19.2, I am unable to build atom-shell, linking process fails with this kind of error ;

[982/982] LINK atom
FAILED: /usr/bin/clang++ -Wl,-O1 -Wl,--as-needed -rpath \$ORIGIN -rdynamic -pthread -o atom -Wl,--start-group obj/atom/app/atom.atom_main.o obj/libatom_lib.a obj/vendor/brightray/libbrightray.a obj/vendor/node/libnode_lib.a obj/vendor/node/deps/openssl/libopenssl.a obj/vendor/node/deps/zlib/libchrome_zlib.a obj/vendor/node/deps/http_parser/libhttp_parser.a obj/vendor/node/deps/cares/libcares.a obj/vendor/node/deps/uv/libuv.a obj/vendor/breakpad/libbreakpad_client.a -Wl,--end-group -ldbus-1 -lX11 -lXrandr -lXext -lgconf-2 -lglib-2.0 /var/tmp/portage/dev-util/atom-shell-0.19.3/work/atom-shell-0.19.3/vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so /var/tmp/portage/dev-util/atom-shell-0.19.3/work/atom-shell-0.19.3/vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumviews.a -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lm -ldl -lrt
/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/dev-util/atom-shell-0.19.3/work/atom-shell-0.19.3/vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumviews.a(gtk2ui.gconf_listener.o): undefined reference to symbol 'gconf_entry_get_value'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../lib64/libgconf-2.so: error adding symbols: DSO missing from command line
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

I provide unofficial Gentoo ebuilds of atom and atom-shell, could someone point me in the right direction to get it fixed ?

Ref : aegypius/overlay#37
Issue 1:
the nav-collapse class creates a stacked set of links that occlude the navbar-toggle button

Issue 2:
Hi,

I test version 3.0 RC1. I have a problem when I hive my website with my mobile. In Fact when I am on my home page and show my menu I don't hidden this menu. Why ? Because de first item on the nav is "active" and the button (show/hid) is in background.

I hope that I am clear.

best regards,

Lefandordinateur
Issue 1:
In,

trait BitIter {
type Iter: Iterator<Item=bool>;
pub fn bit_iter(self) -> <Self as BitIter>::Iter;
}

pub fn test_bad<Sym: BitIter>(sym: Sym) {
let i = sym.bit_iter();
}

pub fn test_good<Sym: BitIter>(sym: Sym)
where <Sym as BitIter>::Iter: Iterator<Item=bool> {
let i = sym.bit_iter();
}

pub fn main() {}

test_bad fails to compile, despite the bounds on BitIter::Iter with,

hi.rs:7:17: 7:27 error: type mismatch resolving `<<Sym as BitIter>::Iter as core::iter::Iterator>::Item == bool`: expected associated type, found bool
hi.rs:7 let i = sym.bit_iter();
^~~~~~~~~~

Issue 2:
Take this code:

trait Foo { type Value: 'static; }

fn require_static<T: 'static>() {}

fn takes_foo<F: Foo>() {
require_static::<F::Value>()
}

Since Foo::Value is bounded with 'static, we would expect this to compile, but instead we get this error message:

<anon>:6:3: 6:29 error: the associated type `<F as Foo>::Value` may not live long enough
<anon>:6 require_static::<F::Value>()
^~~~~~~~~~~~~~~~~~~~~~~~~~
<anon>:6:3: 6:29 help: consider adding an explicit lifetime bound `<F as Foo>::Value: 'static`...
<anon>:6 require_static::<F::Value>()
^~~~~~~~~~~~~~~~~~~~~~~~~~
<anon>:6:3: 6:29 note: ...so that the declared lifetime parameter bounds are satisfied
<anon>:6 require_static::<F::Value>()
^~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error

Which seems redundant, if not incorrect.

playpen: http://is.gd/UkEaDV

cc @nikomatsakis from IRC
Issue 1:
Although #27493 resolves our CI failures, there's still a critical issue to address that must be fixed before April 15: we couldn't figure out how to get symlinks working properly in Bazel-generated archives, so the extra tensorflow_framework.so.*.* files are all duplicates. The pip wheel is now ~120MB:

... ... 120M Apr 5 16:05 tensorflow-1.13.1-cp27-cp27mu-linux_x86_64.whl

pypa/packaging-problems#101 seems to be the most recent documentation explaining TF's maximum wheel size limit, which is currently 100MB. We won't be able to upload the 1.14 release until this is addressed. TF is just scraping the limit at 92MB, so all extra files will have to be symlinks to fix this properly.

The libtensorflow archives are affected by this as well.

FYI @gunan, assigning to myself and @perfinion.

Issue 2:
NOTE: Only file GitHub issues for bugs and feature requests. All other topics will be closed.

Environment info

Operating System: Ubuntu16.04

Installed version of CUDA and cuDNN: 8.0 and 5

Python 2.7.12 (default, Jul 1 2016, 15:12:24)

[GCC 5.4.0 20160609] on linux2

Type "help", "copyright", "credits" or "license" for more information.

import tensorflow

Traceback (most recent call last):

File "", line 1, in

File "/usr/local/lib/python2.7/dist-packages/tensorflow/init.py", line 23, in

from tensorflow.python import *

File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/init.py", line 49, in

from tensorflow.python import pywrap_tensorflow

File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in

_pywrap_tensorflow = swig_import_helper()

File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper

_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)

ImportError: /usr/local/lib/python2.7/dist-packages/tensorflow/python/_pywrap_tensorflow.so: undefined symbol: _Z14tf_git_versionv

I'm getting this error above with r0.10, can you please give me some insights or solutions to this?

Thanks
Issue 1:
I started from this example. Changed nothing more than what is explained in there to get up and running.

npm run dev works perfectly.

npm run serve (firebase local) throws me the following:

Error: > Couldn't find a pages directory. Please create one under the project root

at Object.findPagesDir (/Users/julianbenegas/Documents/Work/mayeutica-platform-2.nosync/dist/functions/node_modules/next/dist/lib/find-pages-dir.js:3:170)

at new Server (/Users/julianbenegas/Documents/Work/mayeutica-platform-2.nosync/dist/functions/node_modules/next/dist/next-server/server/next-server.js:40:42)

at createServer (/Users/julianbenegas/Documents/Work/mayeutica-platform-2.nosync/dist/functions/node_modules/next/dist/server/next.js:2:133)

at Object. (/Users/julianbenegas/Documents/Work/mayeutica-platform-2.nosync/dist/functions/index.js:10:11)

at Module._compile (internal/modules/cjs/loader.js:778:30)

at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)

at Module.load (internal/modules/cjs/loader.js:653:32)

at tryModuleLoad (internal/modules/cjs/loader.js:593:12)

at Function.Module._load (internal/modules/cjs/loader.js:585:3)

at Module.require (internal/modules/cjs/loader.js:692:17)

⚠ Your function was killed because it raised an unhandled error.

Cheers!

@jthegedus

Issue 2:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

I expected the data fetching to happen server-side on first load and be cached

Current Behavior

Data is fetched by the client (I see the network request) on first load

Steps to Reproduce (for bugs)

Decorate an inner component (in my case, the header) with "withRouter"

Use router.pathname.

In my case const activeItem = router.pathname to set active item on menu

Now, using the lib of the with-apollo example (initApollo and withData) data is fetched client-side.

If I remove that line everything is ok and I don't see any client-side fetching.

Thank you,

Matteo