You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I'm kind of new to ReasonML and wanted to start it with Next.js. After trying to reproduce the with-reasonml example I've noticed that each time a link is clicked, the page is reloaded (like on a regular site with server generated content), which defeats the whole purpose of a single-page app.
Besides, docs for the example say:
An app with two pages which has a common Counter component. That Counter component maintain the counter inside its module. This is used primarily to illustrate that modules get initialized once and their state variables persist in runtime.
And hence I presume that it is not the expected behavior.
I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
Links are followed SPA-style, without the full page refresh.
The text was updated successfully, but these errors were encountered:
egorovli
changed the title
[quetion] with-reasonml example causes full page reload on link click
[question] with-reasonml example causes full page reload on link click
Mar 19, 2018
rase-
pushed a commit
to rase-/next.js
that referenced
this issue
Apr 26, 2018
Hi. I'm kind of new to ReasonML and wanted to start it with Next.js. After trying to reproduce the
with-reasonml
example I've noticed that each time a link is clicked, the page is reloaded (like on a regular site with server generated content), which defeats the whole purpose of a single-page app.Besides, docs for the example say:
And hence I presume that it is not the expected behavior.
Expected Behavior
Links are followed SPA-style, without the full page refresh.
Current Behavior
Steps to Reproduce
$ yarn create next-app --example with-reasonml with-reasonml-app
$ cd with-reasonml-app
$ yarn build && yarn start
Your Environment
The text was updated successfully, but these errors were encountered: