<div dir="ltr">I love ES6 for classes, arrow functions. I avoid its Set and Map as I don't think they are well written. Spread properties are useful for passing state to child components but outside that I seldom find myself using them in my own React frontend work. Rest parameters I haven't found much use for although the cdr like possibilities are obvious. Destructuring is another that I have seldom had a need for. So I wouldn't go overboard getting every single feature. <br><br>But given the right boilerplate to except ES6 features can't parenscript just put out ES6 javascript?<div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 9, 2018 at 3:24 PM Samantha Atkins <<a href="mailto:sjatkins@gmail.com">sjatkins@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have found it easier to do Flux like patterns using rxjs. Basically the "store" subscribes to changes from "actions" and is subscribed to by the views interested in that store's state. I found it cleaner than the many versions out there. </div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 9, 2018 at 10:55 AM John Pallister <<a href="mailto:john@synchromesh.com" target="_blank">john@synchromesh.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hello list,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">After admiring Parenscript from afar for many years I'm finally taking the plunge into web front-end development. I'm using <a href="https://preactjs.com/" target="_blank">Preact</a> with Parenscript - so far so good. After reading the article <a href="https://medium.freecodecamp.org/how-to-make-your-react-app-fully-functional-fully-reactive-and-able-to-handle-all-those-crazy-e5da8e7dac10" target="_blank">How to make your React app fully functional, fully reactive, and able to handle all those crazy side effects</a> I would like to incorporate Redux, Cycle.js and Immutable.js, by porting <a href="https://github.com/cyclejs-community/redux-cycles" target="_blank">redux-cycles</a> to Preact (and Parenscript). Looking at the sample code, these modern JavaScript libraries (particularly the more functional ones) make heavy use of ES2015 features such as:</div><div class="gmail_default"><ul><li><font face="arial, helvetica, sans-serif">Arrow functions</font></li><li><font face="monospace, monospace">const</font></li><li><font face="monospace, monospace">let</font></li><li><font face="arial, helvetica, sans-serif"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax#Spread_in_object_literals" target="_blank">Spread properties</a></font></li><li><font face="arial, helvetica, sans-serif"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters" target="_blank">Rest parameters</a></font></li><li><font face="arial, helvetica, sans-serif">Destructured function parameters</font></li><li><font face="arial, helvetica, sans-serif">etc.</font></li></ul><div><font face="arial, helvetica, sans-serif">I realise that pretty much all of these are just syntactic sugar, but I wanted to ask whether anyone other than me thinks it would be nice if Parenscript knew about these modern niceties and could be directed to generate them, and what the general roadmap (if any) is for Parenscript, before I start looking at what's involved.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Thanks very much,</font></div></div><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">John :^P</div></div>-- <br><div dir="ltr" class="m_8450695762761737183m_-1456325137229710627gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>John Pallister<br><a href="mailto:john@johnp.net" target="_blank">john@johnp.net</a></div><div><a href="mailto:john@synchromesh.com" target="_blank">john@synchromesh.com</a></div></div></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div>