The Wayback Machine - https://web.archive.org/web/20200914195655/https://github.com/topics/server-rendering
Skip to content
#

server-rendering

Here are 82 public repositories matching this topic...

next.js
jleck
jleck commented Sep 8, 2020

Bug report

Describe the bug

When trailingSlashes: true is added to next.config.js, server-side generation does not include the trailing slash in the router asPath property.

To Reproduce

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

  1. Enable trailing slashes
  2. Add useRouter() to component
  3. Log asPath property

Expected beh

nuxt.js
manniL
manniL commented Sep 1, 2019

Related PR: #6331
Suggested by @pimlie

When trailing slash handling is enforced (in any manner), it'd be great to have two things for improved DX:

Nuxt Link adaption

No matter how you input the links in your Nuxt link (be it as an object via named routes or via string), the component should enforce the set up trailing slash handling (adding or removing the slashes as needed).

U

inteldon
inteldon commented Sep 8, 2020

Just gave VulcanJS a try after using Meteor for a while. I'm getting the following error:

`
Warning: React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.
meteor://💻app/packages/vulcan_lib.js:422
if (error) throw error; // eslint-disable-next-line no-console
^

[Error:

Improve this page

Add a description, image, and links to the server-rendering topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the server-rendering topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.