-
-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upcoming updates November 2021 (done) #163
Comments
About getInitialProps: https://nextjs.org/docs/api-reference/data-fetching/getInitialProps EDIT: sorry if this isn't the right place, is there a section for questions/suggestions? |
@marcosCapistrano Thanks for suggestion. I don't think there are many (or any) instances for using |
Move changes to
book/10-end
, decided against creating Chapter 11:generateNumberSlug
andgenerateSlug
- either use_id
asslug
or generate unique values withMath.random
(Chapter 11, explain motivation)bodyParser.raw
toexpress.raw
for Stripe's webhook (change content inside chapter in question)nprogress
(change content inside chapter in question):quantity
tocreateSession
for per seat subscription (change content inside chapter in question)dotenv
forapp
; updatenext.config.js
and update names for environmental variables; updateREADME
fileNotes:
MyApp
,MyDocument
Select
,event.stopPropagation()
<InputLabel>Notification type</InputLabel>
mobx
,mobx-react
eslint
inapi
socket.io-client
,socket.io
,@types/socket.io
, remove@types/socket.io-client
, updatesocket.ts
, updatestore/index.ts
check if which page and store methods should be made private (see multiple methods in
DiscussionPageComp
)see if it makes sense to replaceRequires removing allgetInitialProps
withgetStaticProps
(fetch data at build time and render page) orgetServerSideProps
(fetch data at request time and render page) (InvitationPageComp
:getInitialProps
->getServerSideProps
)getInitialProps
, serializing data, separate export:fixed redirect for logged-in user:
t.slug === selectedTeamSlug || userObj.defaultTeamSlug
c1f02ef convert
DiscussionPageComp
page to functional componentDiscussionPageCompFunctional
(explainuseState
,useEffect
,useRef
,usePrevious
,firstGridItem
, Express routes fordiscussion-f
page)MyDocument.render
andMyApp.getInitialProps
:explain firing of lifecycle methods:
explain firing of
useEffect
hook:book/11-end
tobook/10-end
; removebook/11-begin
andbook/11-end
saas
with codebase insidebook/10-end
Node.js 14 running on 64bit Amazon Linux 2
:engines
inpackage.json
start
script runs frompackage.json
at AWS EBconfig.yml
The text was updated successfully, but these errors were encountered: