Skip to content

ASP.NET MVC 4 with Babel 7 + server-side rendering + Fragments ? #798

@oudoulj

Description

@oudoulj

I've just added ReactJS.NET 4.1.1 to my ASP.NET MVC 4 project and tried to do some server-side rendering using @Html.React()
I realized I couldn't use React.Fragment though because it requires Babel 7.
So I was wondering if you have any idea when ReactJS.NET with Babel 7 would be available ?

If that's not due soon, can someone advise a good tutorial on how to use the webpack integration as suggested on https://reactjs.net/2019/03/4.1.1-release.html ?
And how to generate a Babel 7-ready bundle.server.js file.
Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions