next.js tag

13 questions


1 answers
425 views
0
Directory Configuration for Rails+ Front-End

I don't know the typical directory configuration for developing Rails and Frontend in one repository.For example, in the case of Rails API+Next.js, I think the following options are available.What is ...


1 answers
426 views
0
I want to combine useSWR and useMemo

Next.js implements pageation.There is something you would like to see on page {page} / {max_page} page.We calculate max_page as Math.floor after fetching data in SWR.As for max_page, the value does no...

2 years ago

1 answers
321 views
0
Amp Validation for Nextjs error The parent tag of tag 'style [amp-keyframes] 'is 'head', but it can only be 'body'

AMP validation encountered a title error when building a Nextjs blogging service.If you look at the html source on the target screen, you can see the following in <head>:<styleamp-keyframes&g...

2 years ago

1 answers
89 views
0
I want to implement multiple check boxes (all selections/undoes all) in react.

I am currently working on implementation with next.js, but as mentioned above, I would like to manage the check status of multiple check boxes with state, and if I press the button on a different comp...


1 answers
152 views
0
I want to create a service that can be used through browser and smartphone applications.

If you want to create a service that can be used through a browser or smartphone applicationIt's a service like SNS, but I would like to develop a service that can be used from both browser (web app) ...


1 answers
155 views
0
I want to use getServerSideProps instead of getInitialProps in Next.js+TypeScript, but I don't know how to write it.

I asked the same question in teratail, but after 2 weeks, I still have 0 answers, so I would like to ask you a question.I don't care which way you answer.Also, I will share the progress with both of t...


1 answers
67 views
0
React-draft-wysiwyg does not work well in Next.js

I am thinking of deploying react-draft-wysiwyg in Next.js by referring to the page below.Easily implement rich text editors running on your browser using React Draft WysiwygWhat do you want to doI wan...

2 years ago

1 answers
115 views
0
Questions about using useSWR in cloud firestore

I would like to fetch Cloudfirestore on the client side with useSWR, but I didn't know how to write the API specification, so I asked you a question.This is because I am currently using NextJS to crea...

2 years ago

1 answers
120 views
0
firebase.storage() error firebase.storage is not a function in Next.js

I was able to use firebase.storage() in React (firebase7.20.0), but even though I wrote the same code in Next.js, I got an error message for firebase.storage is not a function.What is the cause?fireba...

2 years ago

1 answers
89 views
0
I want to add objects to the array (forEach, push)

I would like to push the object to the array using the sample code below, but I cannot do as I wish.Push {text:aaa, imagePath:} to arry in the first loop using forEach and I think I'm pushing {text:bb...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.