Cannot be used in server side rendering #8
Labels
enhancement
New feature or request
🎁 Rewarded on Issuehunt
This issue has been rewarded on Issuehunt
help wanted
Extra attention is needed
Because of
createBrowserHistory
which throw:Browser history needs a DOM
.One solution may be to return a memory router if the module is loaded in a non-dom environment.
(I'm not using this module for the
history
export but for the useful route components).IssueHunt Summary
[
<
i
m
g
s
r
c
'
h
t
t
p
s
:
/
/
a
v
a
t
a
r
s
3
.
g
i
t
h
u
b
u
s
e
r
c
o
n
t
e
n
t
.
c
o
m
/
u
/
1
7
6
6
0
1
8
?
v
4
'
a
l
t
'
r
a
f
a
e
l
f
b
s
'
w
i
d
t
h
2
4
h
e
i
g
h
t
2
4
r
a
f
a
e
l
f
b
s
]
(
h
t
t
p
s
:
/
/
i
s
s
u
e
h
u
n
t
.
i
o
/
u
/
r
a
f
a
e
l
f
b
s
)
h
a
s
b
e
e
n
r
e
w
a
r
d
e
d
.
Backers (Total: $40.00)
Submitted pull Requests
Tips
IssueHunt has been backed by the following sponsors. Become a sponsor
The text was updated successfully, but these errors were encountered: