John Stableford (@pseudo_su) header
John Stableford (@pseudo_su) profile picture
Melbourne, Victoria
Joined May 2011
What will it be like for isomorphic/universal component trees that can render on both the client and the server? Is it wrong to think in terms of three "types" of components (Shared, Client and Server)?
1
Replying to @ryanflorence
100x yes 🎉! One of my favorite things about using SSR as a default in every project is being able to store & parse config using an "envalid" schema on the server and then whitelisting the subset that is safe to inject into the browser at runtime.
1
1
I think this might be what going mad with power looks like
I think conceptualising preload as a hook is part of the reason why it's difficult to think about seperating data fetching from "pages" (which is something I'm quite keen to do). Something like this
1
Re hoisting data to the top: I've somewhat convinced myself that we can solve the "hoisting problem" by doing something similar to <link rel="preload" />. Something like this:
1
because the "runtime" wires up a bunch of stuff behind the scenes. github.com/bootleg-rust/site…
1
I think one of the most important bits of this is that in the actual website package only the bare minimum is required. github.com/bootleg-rust/site…
1
Replying to @ephemjs @_chenglou
I'm not making an argument against abstraction. I just don't love the choices current SSR solutions make. Over the last few weeks I think i'm settling on "SSR runtime" to describe what I prefer.
1
2
Replying to @ryanflorence
Okay you've hooked my interest back 🎉😄🤞. I'm more interested to know how the react-router redirect use-case will work now with the planned removal of <Redirect /> in v6
2
I don't think I've enjoyed any kind of digital art as much as I am enjoying my @Surface Pro + @CorelPainter. 😍
2
1
Replying to @alexellisuk
Not doing much at the moment but here's mine 😅
1
Replying to @terencehuynh
@terencehuynh I'm onto you, you planned this
1
1
Replying to @hugojmd
SSL error using the iOS Twitter app embedded browser, where do I submit a bug report 😉
2
1