-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
feat(templates): bring React 18 templates in line with indie-stack
updates
#4060
feat(templates): bring React 18 templates in line with indie-stack
updates
#4060
Conversation
|
3e2a13e
to
bf9d54a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I'll defer to @jacob-ebey
bf9d54a
to
7f0200c
Compare
a0866e3
to
5372d7f
Compare
5372d7f
to
28a68ec
Compare
165cc00
to
d299a81
Compare
d299a81
to
ffcf220
Compare
349611b
to
dfefb0a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @MichaelDeBoey this looks great, thank you. I'd just like a few small syntax changes to remain consistent with the rest of the codebase.
I know I said I could show you how to dedup the code, but I think I prefer it how it is now. It's clear and concise. If people want ternaries, they can make that refactoring themselves.
Thank you! ❤️
@@ -2,6 +2,7 @@ import { PassThrough } from "stream"; | |||
import type { EntryContext } from "@remix-run/node"; | |||
import { Response } from "@remix-run/node"; | |||
import { RemixServer } from "@remix-run/react"; | |||
import isbot from "isbot"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't a huge deal, but TS marks this import as missing in dev. I've always tried to avoid this kind of thing in the past. Not sure the best way to fix it here though since this is in our templates.
Maybe we just add isbot
to our monorepo deps to avoid the TS warning? Just a thought. Open to your suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#4061 will add isbot
to the monorepo deps, so these errors should be gone once that one's merged I think.
dfefb0a
to
3a98dee
Compare
3a98dee
to
084e79f
Compare
Mainly includes remix-run/indie-stack@e8d39cf, remix-run/indie-stack@a1a1c05 & remix-run/indie-stack#125