These are chat archives for riot/riot

22nd
Nov 2016
avi
@dharmax
Nov 22 2016 08:27
hi . is this a good place to ask about RiotTS?
Юрий Ярош
@yuriy-yarosh
Nov 22 2016 09:23
@dharmax
@avi sure
avi
@dharmax
Nov 22 2016 09:24
thanks @yuriy-yarosh : i can't get riotts to render the components. i placed it as a git submodule under the folder where my js and html are. i followed the execution and it looks good (the registration, for example, did return a tagname) but when mounting, it just doesn't find the component to mount.... It does, however, find a normally defined (tag file) riot component..... Any ideas?
_
Юрий Ярош
@yuriy-yarosh
Nov 22 2016 09:26
Do I look like a medium ?
Cris Ward
@crisward
Nov 22 2016 20:43
Good to see Riot 3.0 live. The new dynamic data-is is very cool. Glad to finally retire riot-subtag
The new 'if' is pretty cool too. Must update my riot-routehandler to take advantage of all these changes. Should be able to strip lots of code away.
JL Claure
@JuanLuisClaure
Nov 22 2016 22:01
Do I look like a medium ? jajaja
@prateekbh . I finish to migrated yhe lazy loading to webpack2. the best is the system.import import all the components inside the .tag you are imported. so clean a lot the code.
JL Claure
@JuanLuisClaure
Nov 22 2016 22:07
riot.route('/home', () => {
  System.import('../pages/home/home').then( module => {
    // console.log( module );
    renderHere.innerHTML='<homepage></homepage>'
    riot.mount('*')


  }).catch( err => {
    console.log(err)
  })
})
@JuanLuisClaure thanks for sharing.
Юрий Ярош
@yuriy-yarosh
Nov 22 2016 23:01
@JuanLuisClaure Well, I've decided to ditch vanilla webpack and implement my own bundler, with http/2 support and gulp4/webpack2/express5 integration.
JL Claure
@JuanLuisClaure
Nov 22 2016 23:19
@yuriy-yarosh sure i'm using gulp too for task. and webpack2/gulp4 seems a winner duo. because is most easy use lints and manage thefirst time hear about gulp4. htpp is hard to implement for me. just need help in that cause I'm creating PWA biolerplate with riot. just need more experience i guess. https://www.livecoding.tv/juanluisclaure/ if you can enter my channel. and try to advice me a bit was awesome for my current work. @Ke- thanks for apreciatte. first time happend in the comunity hahah :D buena onda