News for hackers. Stuff that matters.
Re:Next.js – A small framework for server-rendered universal... by Touche on Tuesday October 25, 2016 @05:54PM (#12792045)
That would be the responsibility of the route code, not the code doing the fetch().
Re:Next.js – A small framework for server-rendered universal... by idbehold on Tuesday October 25, 2016 @06:07PM (#12792163)
Why would the route code need to know what data a deeply nested component needs? Making that the responsibility of the route code entirely defeats the purpose of an isomorphic/universal React application.