Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 30 06:54
    Nishikantaparhi commented #1243
  • Jul 30 06:54
    Nishikantaparhi commented #1243
  • Jul 27 09:47
    codeaheaduk commented #1261
  • Jul 27 09:47
    codeaheaduk commented #1261
  • Jul 27 09:45
    codeaheaduk commented #1261
  • Jul 26 20:07
    danielHalan opened #1261
  • Jul 26 19:11
    danielHalan commented #1231
  • Jul 26 19:08
    danielHalan commented #1231
  • Jul 26 18:41
    Daniel15 commented #1231
  • Jul 26 18:40
    danielHalan commented #1231
  • Jul 13 14:32
    dukedhx closed #1246
  • Jul 08 18:13
    dustinsoftware closed #1121
  • Jul 07 05:28
    7thcubic commented #1260
  • Jul 07 05:27
    7thcubic commented #1260
  • Jul 07 05:26
    7thcubic commented #1260
  • Jul 01 16:13
    quantrpeter opened #1260
  • Jun 29 23:48
    7thcubic commented #1250
  • Jun 29 23:47
    7thcubic commented #1250
  • Jun 16 09:32
    7thcubic commented #1259
  • Jun 16 06:30
    giannik opened #1259
Abe Diaz (@abe238)
@abe238
Quick Update Danie, we fixed the issue, the files were not really inside the solution for some reason.
we r building now hapily in the build server (jenkins)
Stefan Wüthrich
@stefanwuthrich
Hi. Tks for this great lib at first.
I try to use material-ui (https://github.com/callemall/material-ui ) with reactjs.net (asp.net 5)
anybody having some example code out there ? or some example code to add components like that one https://github.com/callemall/material-ui/blob/master/example/src/app/components/main.jsx in general
Daniel Lo Nigro
@Daniel15
@stefanwuthrich Webpack is probably the best way to use modular JS components like those. You can look at React.Sample.Webpack in the ReactJS.NET repo, it has a sample Webpack + ReactJS.NET project.
Stefan Wüthrich
@stefanwuthrich
@Daniel15 tk you for your answer. i give it a try
Dan Smith
@xdansmith
@Daniel15 do you work on the core react team? :)
Daniel Lo Nigro
@Daniel15
@xdansmith I don't, I do work at Facebook though (on one of the ads interfaces teams). ReactJS.NET is a side project for me.
Aman Kubanychbek
@code4aman
Hey there! Trying to build via dev-build.batand getting error at React.AspNet and Sample.Mvc6 projects "Unable to locate Dependency React.Core"
The command "dnu restore --quiet --parallel" exited with code 1
build fails, can you help guys?
Daniel Lo Nigro
@Daniel15
@code4aman That's strange, the build generates React.Core, and the AppVeyor build is fine: https://ci.appveyor.com/project/Daniel15/react-net
Are there any other errors?
Aman Kubanychbek
@code4aman
looks like I was trying to build using wrong dnx version, now installing beta7 :smile:
Daniel Lo Nigro
@Daniel15
woo :D
Anders Ekdahl
@andersekdahl
You weren't lying when you said that it's kind of dead here... :smile:
Daniel Lo Nigro
@Daniel15
Hahaha, yeah
Anders Ekdahl
@andersekdahl
Do you have any public sites that use React.NET?
Anders Ekdahl
@andersekdahl
Or if you know of any sites in production using it? We're currently rewriting a high trafic site and want to use server rendered React, but it's hard to know what to expect in terms of performance
Daniel Lo Nigro
@Daniel15
I have a page at http://dan.cx/socialfeed.htm, it's pretty simple though :P
I remember seeing some people say they're using ReactJS.NET in production, I can't remember who though
Aman Kubanychbek
@code4aman
Is there any chance to get .net core support after ChakraCore goes open source? It has better es6 coverage
I've heard few people using it in production, I'll use it too, started few days ago, moved away from knockout
Daniel Lo Nigro
@Daniel15
@code4aman - Sure, I think that'd be possible :)
Norbert de Langen
@ndelangen
Is anone using reactJS.NET in production? We’ve tried, but ended up not being able to use it because of memory usage and leaks. Did you end up getting it working well in production @code4aman ?
Sean Costello
@Boughtmanatee5
Yes actually. at Phillips.com our home page is build in react and rendered by reactJS.net. There's also a CMS application with the same stack, but that's only business facing. We found the if you precompile your JSX with webpack or gulp instead of using the C# compiler you save a lot of memory. Once we switch to webpack we haven't had any memory issues.
Daniel Lo Nigro
@Daniel15
I have one page on my personal site using server-side rendering (http://dan.cx/socialfeed.htm), it's my testbed. Babel uses a lot of memory, so precompiling (eg. with Webpack) is good in production. It shouldn't be as bad with newer ReactJS.NET versions though, as I create brand new JavaScript engines for Babel compilation and totally dispose them once the file is compiled.
Juan Jose A.
@jjalonso
Hello Guys, We are having a look around reactjs net and Im trying to see if we are gonna be able to run redux in server side to create the store, or only to render plain components
Daniel Lo Nigro
@Daniel15
@texirv - This chat room is for ReactJS.NET, which integrates React into ASP.NET apps. It looks like your question isn't specific to ReactJS.NET, so I'd suggest asking in the regular ReactJS room (on Discord) or on Stack Overflow :)
Andrey Mironov
@andreymir
Hello! Has anyone using react.net with redux? Any ideas how to initialize redux store for server-side rendering?
Daniel Lo Nigro
@Daniel15
@andreymir I haven't tried ReactJS.NET with Redux. Sharing state between server-side and client-side rendering is pretty tricky, regardless of the server-side technology. I'm not sure what the best approach would be, I haven't had time to look into it.
csoulioti
@csoulioti
Hello everyone! After upgrading to ReactJS.Net 3 we faced a memory leak. For that I have opened an issue #343. Does anyone have any idea about what may have caused that?
dapozdnyakov
@dapozdnyakov

Hello!

I'm using React.net + webpack + material-ui.

When using client-side rendering everything works fine, but when I remove ReactDOM.render from jsx and add "@Html.React" to view and "externals: {react: 'React'}" to webpack.config.js, I receive "Uncaught Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs." error on button click.

Do you have any suggestions what might be the cause?

Thanks in advance!

Conrad Kay
@conradkay
React.NET
just why?
what have we done to deserve this
haybt
@haybt
Hey everyone, do you guys know how to integrate Material-ui on a React.Net + MVC project?
Sean Costello
@Boughtmanatee5
Hey everyone, I had a quick question about performance on the server side. Is reactjs.net's server side rendering known to be memory intensive?
trsh
@trsh
Hi! Any ideas how to call a function on a parents parent component (or even more levels)?
With one level it's clear, but if multiple, passing that param all way along is kind of...
:)
Wesley Handy
@wesleylhandy
Question: I'm a front-end dev used to working with React + Node.js but I'm investigating what it would take for my department, which is .Net without React (or just client-side React) to support React.NET. We have a sharp distinction between front-end and back-end, so I feel like I'm in the dark here. How can I shed some light to see some things possible change? Can anyone recommend resources? I have found a dozen or so articles and stack-overflow questions that help to some extent. Any others you might recommend?
rubangarmon
@rubangarmon
Hello. I am making API React. Also it's works with Apollo . I need to deploy this API on IIS Windows. But I found two opcions: 1) Using iisnode (https://github.com/tjanczuk/iisnode) 2) And using like a windows service with node-windows by coreybutler(https://github.com/coreybutler/node-windows). For expose a service can't I just publish the builds files? Another WebApp that I made I just generate files with webpack and put their on folder IIS, and App works success. Why with API no?
Andrey Sarafanov
@andreysarafanov
Hello! I've got a question about ReactSiteConfiguration. Is it a core design decision to have a single instance per site? I have 4 different React applications in my site right now and the fact that their code is pooled together causes inconveniences with MobX (mobxjs/mobx#1533). I guess this is a rare case and mostly a problem with MobX code, but I feel like it would be much cleaner to have a single configuration per code bundle. Is there anything inherently wrong with it, is it just not implemented because no one really needs it or maybe there already exists a way to achieve that that I've yet to learn about? My configuration is quite simple I guess: https://gist.github.com/andreysarafanov/faea8fd772cdb7f0b777cd862ea2c235
oh, I didn't expect the gist to be expanded like that
Dustin Masters
@dustinsoftware
TIL there is a gitter room for this project. It's not monitored - please go use the issue tracker! Thanks! https://github.com/reactjs/react.net/issues
peeyush gupta
@peeyush79
can we use mediaquery to show different layout in different viewports in reactjs.net mvc
David Wong
@david.wong2_gitlab
Hi Everyone. I've just started on a project that uses React.Net and I'm the first to render a component that makes a fetch call on load of that component. So the component renders fine but it simply doesn't make the ajax call. Just wondering if there's something basic I'm missing here. Such as server side rendered code doesn't have fetch and how to debug what's happening
David Wong
@david.wong2_gitlab
Just reading the docs here https://reactjs.net/tutorials/aspnetcore.html Does React.net not support fetch? Do I need to use XMLHttpRequest
Soroush Chehresa
@soroushchehresa
Maxime BAUMANN
@mbaumanndev
Hi !
I'm trying to figure out how to create an app with CRA (TypeScript) and ReactJS.NET as the SSR solution, but I don'y understand how to achieve this, do you have an example or some docs that can help me to do this with ASP.NET Core 3.0/3.1 ?
For the moment, I have a project generated with the ASP.NET 3.1 + React teamplate, I ported some parts of the code to TypeScript, and now I'm stuck on the SSR part
Alex Yakunin
@alexyakunin

Hi, not sure if it's fine to leave a link to open source (MIT license) library, so I'll do it once: https://github.com/servicetitan/Stl.Fusion

Fusion solves one of (in)famously hard problems - namely, automatic cache invalidation (google "two hard things in computer science"). Besides that, it allows to write Blazor-based real-time UIs nearly the same way you write regular request-response UIs, probably with even less code. Apparently, these problems (cache invalidation & change tracking at scale) are connected, and everything Fusion does is based on the same abstraction.

Currently there is no JavaScript client, so Blazor is the only way to unlock its client-server superpowers. But even its basic features (caching and real-time invalidation) are quite useful - server-side part of Fusion may help to speed up your microservices by 1-2 orders of magnitude - typically, with a fairly small changes. JS client is a work in progress, at this point in pretty early stage: https://github.com/servicetitan/Stl.Fusion.Samples/commits/react-client-wip , but the end goal is to craft a JS API allowing to code compute services on the client side too.

P.S. I'm the author of this library, please feel free to ask any questions (I guess better DM me or ask in Fusion's Gitter Chat Room).