Skip to content
#

Next

nextjs logo

Next.js is an open source React front-end development web framework that enables functionality such as server-side rendering and generating static websites for React-based web applications.

Here are 28,170 public repositories matching this topic...

next.js
sa3dany
sa3dany commented Dec 19, 2021

Describe the feature you'd like to request

As per the docs: https://nextjs.org/docs/advanced-features/custom-document#caveats
styled-jsx is not allowed inside custom _document.js and I was getting 500 errors on all SSR pages when deploying a site to production that had a <style> tag inside a custom _document.js.

I think it's a good idea to add an ESLint rule to remind users about

swr
PMudra
PMudra commented Apr 20, 2021

Bug report

Description / Observed Behavior

Passing an updated fetcher method to useSWR has no effect. The initial version of the fetcher will be used.

I am passing a fetcher function to useSWR that is updated by applying a new access token.

const [accessToken, setAccessToken] = useState("valid-0");
const fetcher = () => {
  console.log("fetch with token:", accessToken
blitz
beerose
beerose commented Nov 1, 2021

What do you want and why?

If a user has a react-final-form with a JS Set (or Map) in the initial values, the form resets on some activities, e.g. switching to another tab.

Possible implementation(s)

This can be fixed by using the initialValuesEqual prop:

import deepEqual from "fast-deep-equal"

    <FinalForm
      initialValues={initialValues}
      initialValues
next-auth
filipditrich
filipditrich commented Dec 8, 2021

Description 🐜

With the removal of clientMaxAge and keepAlive in favor of refetchInterval, every time a tab is switched, the session gets revalidated, thus updating a session state in SessionProvider which then causes to rerender all components using useSession.

Is it possible to disable this "revalidation" upon window refocusing?
Thanks in advance.

Is this a bug in your own

tinacms
logan-anderson
logan-anderson commented Nov 26, 2021

For example when editing a very long content, somehow to make a text bold, I need to scroll back all the way up to select bold. (Maybe either make the styling fixed or add shortcut like Ctrl + B for bold and similarly for other styling as well like underline, italic.

cc @jeffsee55 @spbyrne

[Originally posted on discord](https://discord.com/channels/835168149439643678/848932514911354880/9138

tiacop
tiacop commented Mar 24, 2021

Would be supercool to have "BlogPosting" as article JSON-LD type.

From the Google Docs (https://developers.google.com/search/docs/data-types/article#non-amp):

Article objects must be based on one of the following schema.org types: Article, NewsArticle, BlogPosting. (https://schema.org/BlogPosting)

I tried to use "BlogJsonLd" as type for Blogposts, but the Google Rich Result Test (https:

serverless-next.js
nextra

Created by Vercel

Released October 25, 2016

Latest release 19 days ago

Repository
vercel/next.js
Website
nextjs.org
Wikipedia
Wikipedia