Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Fahad Ibnay Heylaal
    @fahad19
    Hello World!
    jvantillo
    @jvantillo
    EHLO
    Jaanus Varus
    @discosultan
    echo "hello world"
    Ricardo Machado
    @mAiNiNfEcTiOn
    :)
    Alex Miranda
    @alexmiranda
    (println (clojure.string/reverse "dlrow olleh”))
    Viacheslav Zhuravski
    @viacheslaff
    The world waves back
    Paulo Henrique
    @MrHerickS
    Hey guys, let's supose i have a big big big app. Is there a way to build only some parts of the project? I say only the changed apps?
    Jean Baudin
    @jackTheRipper
    Hi, you can do so if you are loading all the bundles of your app on their own. I mean that instead of having a huge index.js containing your app, you have to implement on your own the logic for splitting in small bundles your app
    Paulo Henrique
    @MrHerickS
    Oh, i see. But let's say i have 40 apps on my frint, can I build only the app 1? if yes, how will this be possible?
    Fahad Ibnay Heylaal
    @fahad19
    @MrHerickS: you can take a look at this multiple-apps example for inspiration: https://github.com/frintjs/frint/tree/master/examples/multiple-apps
    Paulo Henrique
    @MrHerickS
    Perfect, that's exactly what i want! Thank you guys for the fast reply!
    niouse
    @niouse

    Hi, do you plan to implement the use of decorators ? I ask because I like to separate the observer from the template in different files like so: import Template from "./MyComponent.template.js"
    import Streamer from "./MyComponent.api.js"

    @Streamer()
    @Template()
    class MyComponent{}

    export default MyComponent

    By the way, frintjs is a very nice tool !
    Fahad Ibnay Heylaal
    @fahad19
    @niouse: thanks for the kind feedback!
    observe higher-order component from frint-react is already decorator compatible.
    you can just write your observed component like this, if your environment supports decorators:
    import React from 'react';
    import { observe } from 'frint-react';
    
    @observe((app) => {
     return props;
    })
    class MyComponent extends React.Component {
      // ...
    }
    niouse
    @niouse
    Indeed.. thanks for your quick reply
    Fahad Ibnay Heylaal
    @fahad19
    @niouse: curious if you are using decorators with TypeScript or Babel
    niouse
    @niouse
    @fahad19 with babel but I think it is pretty messy, I will switch to Typescript when I'll have time for it
    Sagar Siddalingaswamy
    @sagarhani
    Heya. :smiley:
    Fahad Ibnay Heylaal
    @fahad19
    @sagarhani: :wave:
    Sagar Siddalingaswamy
    @sagarhani
    Watched this : https://www.youtube.com/watch?v=ouCgW8el4Ss&t=2s
    FrintJS looks interesting and pretty cool to use. :sunglasses:
    Fahad Ibnay Heylaal
    @fahad19
    Cool! Let us know if you have any feedback :)
    xcxooxl
    @xcxooxl
    is this chat still alive?