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] <janbiedermann> So that means, that the default asset for SSR for i-react changes from application_ssr.js to web_ssr.js. Existing projects that do not specify a asset in mount_component must supply the application_ssr.js if they went with the defaults, or adapt config to use the new naming scheme.
[slack] <janbiedermann> Also i prepare gems for :isomorfeus: Pro. React Native/Mobile and Electron/Desktop will be a feature of :isomorfeus: Pro. :isomorfeus: Pro must then be purchased.
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> (cc @Tomasz Lemkowski) 👆 👇
[slack] <janbiedermann> So the first: isomorfeus-react 16.13.1:
• change default SSR asset to web_ssr.js <- the only possibly breaking thing
• provide some infrastructure :isomorfeus:
• test_app updates, otherwise no changes, code works as before
Isomorfeus Robot
@isomorfeusbot

[slack] <frédéric ZINGG> @janbiedermann Another annoying Mui question 😏
how would translate that in isomorfeus (particularly the ICON part of the button) ?

        variant="contained"
        color="secondary"
        className={classes.button}
        startIcon={<DeleteIcon />}
      >

I tried that :
Mui.Button(variant: 'contained', component: `Opal.global.Link`, to: '/docs', start_icon: MuiIcons.Delete)

[slack] <janbiedermann> Docs say:
startIcon node Element placed before the children.
So you need a bare, raw, naked, native React Element.
You can get that, by using :isomorfeus: "DirectX" capabilities.
For "DirectX" :isomorfeus: has 2 helpers:
get_react_element
render_react_element
[slack] <frédéric ZINGG> this way works:
Mui.Button(class_name: '', variant: '', component: `Opal.global.Link`, to: '/docs') do MuiIcons.Delete "Documentation" end
[slack] <frédéric ZINGG> will try with the DirectX method also
[slack] <janbiedermann> right, but thats not using startIcon, i show you DirectX:
element = gre { MuiIcons.Delete } Mui.Button(variant: 'contained', component: `Opal.global.Link`, to: '/docs', start_icon: element)
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> gre is a shortcut for get_react_element
[slack] <janbiedermann> rre for render_react_element. You dont need rre here, because Mui.Button will do that.
Isomorfeus Robot
@isomorfeusbot
[slack] <frédéric ZINGG> nice !
[slack] <frédéric ZINGG> gre rre , is it your cat who helped you to find those name ? 😄
[slack] <janbiedermann> 🤣 , sure, both of them, one gre, one rre
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> isomorfeus-react 16.13.2: fixes for infrastructure provided in previous release
Isomorfeus Robot
@isomorfeusbot
This message was deleted
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> isomorfeus-react 16.13.3: fixes
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> isomorfeus-react 16.13.5: more fixes
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> isomorfeus-react 16.13.6: config change
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> For new installations, the roda app now lives in app/server/my_project_roda_app.rb, this allows the roda app itself to get hot reloaded.
[slack] <janbiedermann> (for upcoming isomorfeus release that is)
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> isomorfeus-redux 4.0.23: -remove debugging leftover
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> Finally , after one week working on this, i got the isomorfeus installer in its professional version to install a react native project within a isomorfeus project - 😅 - still need to clean up and move some files and merge some config - but at least half way through.
Isomorfeus Robot
@isomorfeusbot
[slack] <frédéric ZINGG> @janbiedermann awesome, well done 👏
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> And now i got the installation process complete. It installs the app with web and mobile, and then i can do:
yarn run ios and fires up the simulator, compiles the app, and runs it - yeah - to a exception.
[slack] <janbiedermann> But thats next. The configuration issues are all solved, i hope. Now comes the actual code to make things work in both worlds, web and mobile, as much as possible.
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> 2 issues here:
• the renderer, where in web react expects children as args to createElement, in native a array is expected
• styling, :react: native has no 'class_name' property, but it accepts a style property. So the class_name thing, for web compatibility, has to be somehow emulated, or for web+mobile projects only the style prop can be used.
[slack] <janbiedermann> oh, i think it can easily be emulated. the styling thing.
[slack] <janbiedermann> Progress. You see (on the right) a standard :react: for the Browser component, rendered in the Browser (in the middle) and on the iPhone Simulator (on the left), almost the same. Needs some tweaking of the styles.
[slack] <janbiedermann> Who said React Native needs alot of extra work for writing apps? No more, :isomorfeus: rules.
[slack] <janbiedermann> (Well, for common cases 😉)
[slack] <janbiedermann> Its still early. But, let me see if this works ...
Isomorfeus Robot
@isomorfeusbot
[slack] <Forrest Chang> very nice!
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> Yeehaa 🏇
[slack] <janbiedermann> Rendering SVG
[slack] <janbiedermann> one more thing, let me try ...
[slack] <janbiedermann> Even a button works! (cheating a bit)
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> So nice, i am very happy so far. Tomorrow fix some render issues and component resolution issues. Hot reloading does not work anymore in ReactNative, maybe i broke it, not sure what changed.
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> :general: has one more item, that is to wrap the other React Native API, for web, luckily, the react-native-web project implemented most of these, fantastic, so Mobile/Web App is absolutely possible.
[slack] <janbiedermann> I mean while using a lot ReactNative special things even on the Web, or the other way around.
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> i named the import mobile_and_tablet.js and the loader mobile_and_tablet_loader.rb
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> > the renderer, where in web react expects children as args to createElement, in native a array is expected
This actually wrong, there are just some components who demand children as array, renderer in this respect works perfect. Maybe just need to wrap the components affected to convert children to a array.
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> isomorfeus-react 16.13.7:
• repair Component resolution issues, one found by @Tomasz Lemkowski, thanks 👍
• improve performance a bit, by 0 to 12% depending on use case. (also benefits React Native)
• prepare for React Native and Isomorfeus Professional
[slack] <janbiedermann> Oh, and:
• improve hot reloading, now hot reloading also works with themes, like Mui Themes (notifying @frédéric ZINGG)
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> isomorfeus-react 16.13.8.:
• repair a problem with Hot Reloading on React Native
Isomorfeus Robot
@isomorfeusbot
[slack] <janbiedermann> Today, well, yesterday now actually, i woke up and had a idea how to improve render for speed.
This is the result: