ES2015 features?

Samantha Atkins sjatkins at gmail.com
Fri Nov 9 23:24:27 UTC 2018


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.

On Fri, Nov 9, 2018 at 10:55 AM John Pallister <john at synchromesh.com> wrote:

> Hello list,
>
> After admiring Parenscript from afar for many years I'm finally taking the
> plunge into web front-end development. I'm using Preact
> <https://preactjs.com/> with Parenscript - so far so good. After reading
> the article How to make your React app fully functional, fully reactive,
> and able to handle all those crazy side effects
> <https://medium.freecodecamp.org/how-to-make-your-react-app-fully-functional-fully-reactive-and-able-to-handle-all-those-crazy-e5da8e7dac10> I
> would like to incorporate Redux, Cycle.js and Immutable.js, by porting
> redux-cycles <https://github.com/cyclejs-community/redux-cycles> 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:
>
>    - Arrow functions
>    - const
>    - let
>    - Spread properties
>    <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax#Spread_in_object_literals>
>    - Rest parameters
>    <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters>
>    - Destructured function parameters
>    - etc.
>
> 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.
>
> Thanks very much,
>
> John :^P
> --
> John Pallister
> john at johnp.net
> john at synchromesh.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20181109/8e4e1b0b/attachment.html>


More information about the parenscript-devel mailing list