DEV Community

Cover image for Everything You Need to Know About the React 18 RC

Everything You Need to Know About the React 18 RC

Kathryn Grayson Nanz on March 10, 2022

Very exciting news for everyone in the React community: the React 18 RC (Release Candidate) was released March 8, 2022! That means that the feature...
Collapse
 
silverium profile image
Soldeplata Saketos •

Regarding "Streaming Server Rendering", NextJs already has dynamic components, which are asynchronously rendered. I believe that the feature is exactly the same feature. And it also supports "loading" components nextjs.org/docs/advanced-features/...

Collapse
 
lwhiteley profile image
Layton Whiteley •

i think this is because Nextjs was used as a pilot platform to test Server components.
They mentioned this at the end of the video

reactjs.org/blog/2020/12/21/data-f...

Collapse
 
kathryngrayson profile image
Kathryn Grayson Nanz •

Yep, it definitely looks pretty similar! Personally, I think it's nice to see that kind of stuff integrated into React itself, to lessen the need for such dependencies.

Collapse
 
chemiadel_86 profile image
chemiadel •

I don't think it's same, dynamic import on nextjs isn't new it's feature on ESM you can MDN and also uses lazy which a react function. Streaming Server Components is something else

Collapse
 
jacksonkasi profile image
Jackson Kasi •

really thanks for share this✨

Collapse
 
abdadeel profile image
Abdullah Adeel •

Awesome explanation. Thanks for sharing!

Collapse
 
teetotum profile image
Martin •

I suggest a small fix for the old render vs new render code snippet:

// The new way: 
const root = ReactDOM.createRoot(document.getElementById('root')); 
root.render(<App/>);
Enter fullscreen mode Exit fullscreen mode
Collapse
 
kathryngrayson profile image
Kathryn Grayson Nanz •

Good catch, thank you!

Collapse
 
abba_m_ profile image
Strange •

Very lovely update. Thanks.

Collapse
 
aatmaj profile image
Aatmaj •

Nice post!

Collapse
 
andrewbaisden profile image
Andrew Baisden •

Great update more functionality to play around with.

Collapse
 
akshayvinod profile image
Akshay Vinod •

Thanks for sharing!

Collapse
 
pk_1996 profile image
Prakhar Khandelwal •

Awsm explanation 😌

Collapse
 
liyaxuanliyaxuan profile image
liyaxuanliyaxuan •

lovely sharing~

Some comments have been hidden by the post's author - find out more