by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 11 2019 09:03

    janbiedermann on master

    update config for example and t… (compare)

  • May 11 2019 08:43

    janbiedermann on master

    further readme split up (compare)

  • May 11 2019 08:24

    janbiedermann on master

    fix travis config (compare)

  • May 11 2019 08:21

    janbiedermann on master

    fix links (compare)

  • May 11 2019 08:19

    janbiedermann on master

    exclude specs in fixtures clean up a bit corrections in readme and 8 more (compare)

  • May 11 2019 06:09

    janbiedermann on master

    update branch for compilation t… add es6_modules_string branch t… (compare)

  • May 10 2019 20:11

    janbiedermann on master

    let var be let (compare)

  • May 10 2019 18:42

    janbiedermann on master

    add test to execute ruby with c… (compare)

  • May 10 2019 17:18

    janbiedermann on master

    update doc for branches and PRs (compare)

  • May 10 2019 13:00

    janbiedermann on master

    keep test_apps folder for tests (compare)

  • May 10 2019 12:21

    janbiedermann on master

    simplify a bit spec add owl to dependencies test for 'public/assets' add te… and 2 more (compare)

  • May 09 2019 21:53
    francescoagati closed #2
  • May 09 2019 21:53
    francescoagati commented #2
  • May 09 2019 21:47
    janbiedermann commented #2
  • May 09 2019 16:02
    francescoagati opened #2
  • May 09 2019 16:01
    francescoagati starred isomorfeus/opal-webpack-loader
  • May 04 2019 02:19

    janbiedermann on master

    document file tree more accurat… (compare)

  • May 03 2019 16:30
  • May 03 2019 15:42

    janbiedermann on 0.7.3

    (compare)

  • May 03 2019 15:41

    janbiedermann on 0.7.3

    (compare)

Isomorfeus Robot
@isomorfeusbot
[slack] <frédéric ZINGG> nice, did not know about react-native-desktop.
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> Seems i found the perfect, comprehensive toolkit for shared web + mobile development:
[slack] <janbiedermann> react-native-paper :paper: https://reactnativepaper.com/
[slack] <janbiedermann> Looks like it supports all of :mui: . I expect to add direct support for :paper: soon.
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> I like the class names: LucidPaper::Component ... 😉
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> React Native version 62 is out, thats 0.62.0, so now, i guess, i have to go through all the setup procedure again ...
Isomorfeus Robot
@isomorfeusbot

[slack] <janbiedermann> Also, as i am working on :isomorfeus: pro, getting the subscription agreement ready, i noticed it is a lot of effort to get things setup for pro, with separate repos, code interaction and the agreement text and bla bla bla ....

So, considering the current situation of the world and the main reason :isomorfeus: exists: EMPOWERMENT, i decided to give up on :isomorfeus: PRO and instead make PRO part of standard :isomorfeus: and all under MIT License of course.
Maximum EMPOWERMENT for EVERYBODY.

This is way less trouble for me to get things rolling, set up etc.

I still offer professional consulting, training, support for :isomorfeus:

Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> To clarify :isomorfeus: comes with PRO included
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> The upcoming version of isomorfeus requires :redis: redis
Isomorfeus Robot
@isomorfeusbot
[slack] <frédéric ZINGG> is redis replacing iodine ?
[slack] <frédéric ZINGG> or no link at all.
[slack] <janbiedermann> no link at all, iodine is the rack server, redis used as sessions store
But i consider to replace iodine with agoo, but need to test first
As :isomorfeus: requires redis anyway now, no need to stick with iodine.
The reason for iodine was to keep setup simple.
Agoo requires redis for pubsub, for iodine redis is optional for pubsub.
[slack] <janbiedermann> Oh, i forgot, we can have session store in db too
[slack] <janbiedermann> Well, this obviously needs some more thought 🤣
Isomorfeus Robot
@isomorfeusbot
[slack] <frédéric ZINGG> ha ok, so without REDIS, what managed pubsub ?
[slack] <frédéric ZINGG> iodine ?
[slack] <janbiedermann> right
[slack] <frédéric ZINGG> ok, so this is why I got confused.
[slack] <janbiedermann> np
[slack] <janbiedermann> i am not so happy with iodine because of the connection/request stalls we experience. Maybe agoo is more reliable, need to experiment.
If agoo is in fact more stable, i will drop iodine support, but then :redis: will be a requirement.
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> To better support React Native and things i am dropping support for :preact: preact and NervJs
[slack] <janbiedermann> Well, it may still work with :preact: , but i no longer test or make an effort to support it.
Isomorfeus Robot
@isomorfeusbot

[slack] <janbiedermann> upcoming i-react release allows for method_ref to pass args. Thats useful for event handlers, to pass additional args based on context.
Example:
```def my_handler(event, info, arg)
puts arg
end

render do
DIV(on_click: method_ref(:my_handler, "first DIV"))
DIV(on_click: method_ref(:my_handler, "second DIV"))
end```

[slack] <janbiedermann> my_handler then received the original event/info plus the args passed to method_ref.
[slack] <janbiedermann> cc @Tomasz Lemkowski
Isomorfeus Robot
@isomorfeusbot
[slack] <Tomasz Lemkowski> 👍
[slack] <Tomasz Lemkowski> Super nice
Isomorfeus Robot
@isomorfeusbot
[slack] <Diego> Is there a place to report problems with isomorfeus hello world?
I am able to run the isomorfeus-website project locally but creating a new project gives me this error:
18:03:54 web.1 | ERROR: Iodine caught an unprotected exception - RuntimeError: Isomorfeus in development on Server:
18:03:54 web.1 | Server Side Rendering: Failed loading asset http://localhost:3036/assets/web_ssr.js from webpack dev server, asset is not javascript. Did the webpack build succeed?
Isomorfeus Robot
@isomorfeusbot

[slack] <janbiedermann> Hi Diego,

the most recent release is zeta25, please install zeta25 and try again to create a new project.

Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> You can check if you have the latest and greatest here: https://github.com/orgs/isomorfeus/packages
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> @Diego this is the right place to report problems
I updated the website to reflect latest version.
Isomorfeus Robot
@isomorfeusbot
[slack] <Diego> Thanks, I tried zeta25, but still get the same error
[slack] <janbiedermann> oops, sorry, i will try myself and fix
Isomorfeus Robot
@isomorfeusbot

[slack] <janbiedermann> @Diego i just remembered whats the issue, i think, did not have time to test yet. The default asset name for SSR changed because of the preparation for React Native, in your project root, the your_app.rb roda app, there is a mount_component method call, that needs a param at the end. I think you need to add 'application_ssr.js'.

The default changed to 'web_ssr.js', but that change i think is so far only in i-react, which is a bit ahead of :isomorfeus: zeta25

Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> Also you can turn off SSR temporarily by adding Isomorfeus.server_side_rendering = false above the Roda app
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> @Diego does it work?
Isomorfeus Robot
@isomorfeusbot
[slack] <Diego> Isomorfeus.server_side_rendering = false worked```
[slack] <janbiedermann> 👍
[slack] <janbiedermann> zeta26 will come soon
[slack] <Diego> Not sure what key I was supposed to use for application_ssr.js
[slack] <janbiedermann> not sure what you mean 'key'?
[slack] <janbiedermann> oh, i think i understand
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> mount_component('IsomorfeusWebsiteApp', { location_host: env['HTTP_HOST'], location: location, locale: locale }, 'application_ssr.js')
[slack] <janbiedermann> no key
Isomorfeus Robot
@isomorfeusbot
[slack] <Diego> cool, that works too
[slack] <janbiedermann> 👍
[slack] <Diego> finally found the method definition 🙂
Isomorfeus Robot
@isomorfeusbot

[slack] <frédéric ZINGG> @janbiedermann I'm trying to introduce the GSAP animation ibrary (https://greensock.com/) into the isomorfeus-website
On their Helloworls youtube video (https://www.youtube.com/watch?v=znVi89_gazE) they talk about : "React useEffect Hook"

I guess it is easy to transpose that sor of REACT useEffect hook with :isomorfeus: ?
https://medium.com/trabe/react-useeffect-hook-44d8aa7cccd0

Isomorfeus Robot
@isomorfeusbot

[slack] <janbiedermann> Sure it easy with :isomorfeus: , you will have to use a Func component, then you can use hooks. For the website, that would be LucidMaterial::Func. See also the extensive documentation here https://github.com/isomorfeus/isomorfeus-react/blob/master/ruby/docs/lucid_func_component.md .
useEffect is a default React Hook and like any other React Hook you can just call it like:
use_effect

some conversion of args is done, but i am not sure, ymmv, just complain if something does not work and i fix

Isomorfeus Robot
@isomorfeusbot
[slack] <frédéric ZINGG> @janbiedermann Just to understand and if you have time to answer:
I read this article about "React suspense" (fetching asynchronous data)
It looks to me all that sort of things is provided by default with :isomorfeus: , right, or I miss something ?
https://medium.com/trabe/fetching-asynchronous-data-with-react-suspense-8814eaf6a2c6