Distributing ReactJS components written in ES6 and usnig them inside ES5 source code


zclin
7/5/2016 5:43 am
HOME ยป Web Development

I have done a ReactJS component with a Redux store , binding two together using react-redux.

i have written this code using ES6 and webpack, when i run the component individually and test it inside the code it self by an ES6 import the code is working fine.

But i want to distribute the component as a reusable html element to be used in other projects in our organization, so i got the webpack build and used it inside a angularjs project by binding the component using a angular directive. but then i face many problems, the component is not working as expected.

i have posted a seperate post about the problem here stack overflow question

what i wanted to know is the methodology of distributing a reusable react component written using ES6 and bundled webpack or other bundling mechanism, and using the component inside an ES5 source code.please help with me some resources, guides or some pointers if possible.


Related to : Distributing ReactJS components written in ES6 and usnig them inside ES5 source code
Distributing ReactJS components written in ES6 and usnig them inside ES5 source code
7/5/2016 5:43 am by zclin in Web Development

I have done a ReactJS component with a Redux store , binding two together using react-redux.

i have written this code using ES6 and webpack, when i run the component individually and test it inside the code it self by an ES6 import the code is working fine.

But i want to distribut


Re-distributing the source code.
by deom2i in Web Development
Hello,
I am a Student.
Could some one help me on redistributing minix/freebds/fedora source code for my final year project.
Any mentors there ?
Best Regards
Can I use JavaFX 2.x for my App without distributing the source code?
by Toetee in Web Development

Just started an app using java and the plan was to use JavaFX. But then I saw the JavaFX license in wikipedia - GPL v2. I'm not good with licenses but from what I understand if I plan on using JavaFX I have to distribute the code along with the app. Am I on the right track?


The appl


Can i use Microsoft.CCI.dll (CCI Metadata) & CCIAST (CI Code) to perform source code analysis while code is being written?
by HoagieMon in Web Development

I want to automate "code inspection" while a user is typing in a small Visual Studio Addin i am working on.


All i need is a very small subset of functionality that CodeRush, Resharper and FxCop already offer. Here is what i need done:


Analyze what user is typing in Visual St
Selecting an Open Source license for distributing code !! $ !!
by Rineau in Web Development
Hey all,
I'm thinking of releasing some of my personal code as an open source library and I'm trying to decide what license to use. A GPL license is out of the question since many clients that my company does business with balk at GPL, and ultimately I'd like to be able to use it on the job
Securely distributing python source code as an application?
by Russia in Web Development
Hi All,
Ill shortly be distributing a number of python applications that
use proprietary. The software is part of a much larger system and it
will need to be distributed securely. How can i achieve this?
Regards,
Ken
Dec 7 07
Securing source code when distributing debug .NET .dll files?
by Dan Ingraham in Web Development

I've got a piece of web software which has a private component (a computational .DLL) that is consumed by a jointly developed website (ASP.NET). I develop the private .DLL and wanted to make sure that even when compiled as a debug .dll, it doesn't display/leak any of the private source code when


Selecting an Open Source license for distributing code
by maniacalpha1-1 in Web Development
Selecting an Open Source license for distributing code
 
Anyone have any advice on selecting an open source license for code you're thinking of releasing to the world?
GPL is out of the question in my situation, as I hope to use it in client work and many clients will
Advice on creating self contained project, and distributing a web server with the source code
by chetansha in Web Development

I need some advice on configuring a project so it works in development, staging and production environments:


I have a web app project, MainProject, that contains two sub-projects, ProjectA and ProjectB, as well as some common code, Common. It's in a Subversion repository. It's nearl


Creating customisable "templates", for use within ReactJS components, without
15/1/2015 7:40 pm by diablo805 in Web Development

I have a component that looks something like this:

var MyTemplatedComponent = React.createClass({

  getDefaultProps: function () {
    return {
      discountValue: '10% off',
      welcomeMessage: 'Want {{discountValue}} off your next order?'
    };
  },

  getWelcomeMessage: fu
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .