javascript - ReactJS.NET MVC HTML helpers -


is possible use mvc html helpers react, understand how traditionally since html elements being generated through javascript gives me impression cannot this? although wrong. have tried searching around not find much.

if generated javascript on fly (like directly script tag in html type="text/jsx" , ok using not-recommended production in-browser jsx javascript compiler (<script src="build/jsxtransformer.js"></script>), use of helpers.

however, i'd suggest far better use jsx pre-compiler convert jsx syntax javascript , execute in browser. reactjs.net has 1 built in can use. also, since jsx supports number of modern ecmascript 2015/javascript features, may not full jsx support using helpers alone.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -