You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webpack has the option for aliasing one module name with another, so you could alias react as jsx-render and use the default React.createElement function from the jsx loader
This would allow using the same components on the server and client side provided they're compatible enough
The text was updated successfully, but these errors were encountered:
Hey @DanTheMan827 is not a bad idea but will add a little bit of coupling one to webpack and other few but I'm open to evaluating it from a PR to the #8 that includes a work in progress for the server side rendering feature
just for reference, I made a simple include file in my project with the following content that when added as an alias with webpack provides enough of the React functionality to not cause errors for basic stuff, I haven't tried any complex stuff though.
webpack has the option for aliasing one module name with another, so you could alias react as jsx-render and use the default React.createElement function from the jsx loader
This would allow using the same components on the server and client side provided they're compatible enough
The text was updated successfully, but these errors were encountered: