Skip to content
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

chore: update examples to be in line with templates #40

Merged

Conversation

MichaelDeBoey
Copy link
Member

@MichaelDeBoey MichaelDeBoey commented Oct 21, 2022

@chaance You last updated the chakra-ui example, so you have some experience with emotion. Could you maybe look into the emotion example as well?

@helderberto Since you're the original creator of the emotion & stitches examples, we would like to have your help as well.

@kumard3 If you have time to update the styled-components example, we would like to welcome a PR for that.

@sergiocarneiro If you could help us updating the styletron example, that would be awesome as well.


@chaance @machour @mcansh If this PR is too big to review, I'm happy to chop this into a separate PR for each example.

@sergiocarneiro
Copy link

Sure @MichaelDeBoey, I'll update the styletron example.

Should I start now or wait for this PR to be reviewed?

@MichaelDeBoey
Copy link
Member Author

@sergiocarneiro Thanks! 🙏
You can take _template from this PR as a basis & just create a new PR if you want.

@sergiocarneiro
Copy link

It appears React 18 streaming support is still a work-in-progress for CSS-in-JS libraries.

I found that at least styled-components (#3658) and styletron (#430) do not yet support it.

The required changes are officially described here, for those who are interested: reactwg/react-18#110

@MichaelDeBoey MichaelDeBoey force-pushed the bring-in-line-with-templates branch from e864b20 to 6c35f48 Compare October 26, 2022 16:39
@MichaelDeBoey MichaelDeBoey force-pushed the bring-in-line-with-templates branch 7 times, most recently from 32fd2e7 to d84740d Compare November 14, 2022 04:32
@MichaelDeBoey
Copy link
Member Author

@chaance @machour @mcansh do you want me to chop this into a separate PRs for each example, so it's easier to review?

@MichaelDeBoey MichaelDeBoey force-pushed the bring-in-line-with-templates branch from d84740d to 37e9911 Compare November 14, 2022 18:27
@mcansh
Copy link
Contributor

mcansh commented Nov 14, 2022

i'll review over lunch :)

@MichaelDeBoey MichaelDeBoey force-pushed the bring-in-line-with-templates branch from 37e9911 to 054150d Compare November 14, 2022 18:29
@mcansh
Copy link
Contributor

mcansh commented Nov 14, 2022

alright, just gonna take a look at the server entries on my computer as the git diff on mobile is a little much 😆

@MichaelDeBoey
Copy link
Member Author

If it would make your life easier, I'm happy to chop this up in multiple PRs.
Whatever is easiest for you 🤷‍♂️

import type { EntryContext } from "@remix-run/node";
import { Response } from "@remix-run/node";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk why I'm just noticing, but Response should be available globally and shouldn't need to be imported, but we can look at that another time

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah right, has to do with the original global not accepting streams

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this all originated from @chaance's work in remix-run/remix#3917, he can probably give more insights

@mcansh
Copy link
Contributor

mcansh commented Nov 14, 2022

tried a few examples locally and of course the first one i tried happened to be sass which doesn't have any routes 🥴

@MichaelDeBoey
Copy link
Member Author

@mcansh I'll add an index route in a separate PR 👍

@MichaelDeBoey MichaelDeBoey merged commit 2f2da0a into remix-run:main Nov 14, 2022
@MichaelDeBoey MichaelDeBoey deleted the bring-in-line-with-templates branch November 14, 2022 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants