These are chat archives for dev-ua/reactjs

21st
Jul 2017
Terry Sahaidak
@terrysahaidak
Jul 21 2017 07:01
@glebcha мені не доводилось)
alexey-kuznetsov
@alexey-kuznetsov
Jul 21 2017 08:16
@robert197 if billion of users will register in your sites, you should pay :smile:
Robert
@robert197
Jul 21 2017 08:17
@alexey-kuznetsov so if my application built on facebook any open source will become popular, facebook will fuck me up
@alexey-kuznetsov true? :D
alexey-kuznetsov
@alexey-kuznetsov
Jul 21 2017 08:26
some kind. But popularity doesn't mean competition
так делать можно? для диспатча один раз при маунте
alexey-kuznetsov
@alexey-kuznetsov
Jul 21 2017 09:54
А как простые сслыки переделать на <Link/> ? Ссылки приходят в разметке текста с бэкенда
Robert
@robert197
Jul 21 2017 09:54
@alexey-kuznetsov so i cannot competate with facebook with their open source software
@alexey-kuznetsov for e.g. when i build a social network using graphql or react js or any tool etc. they could destroy my business
alexey-kuznetsov
@alexey-kuznetsov
Jul 21 2017 09:56
I hope, they not if you are not pretend to take off their audience
Robert
@robert197
Jul 21 2017 09:56
@alexey-kuznetsov when they dont like your idea they will destroy you :D
@alexey-kuznetsov and build this idea by their own
alexey-kuznetsov
@alexey-kuznetsov
Jul 21 2017 09:57
exactly
Robert
@robert197
Jul 21 2017 09:58
@alexey-kuznetsov so like even if they love your idea and think it could be the great bussiness they will destroy you and make this by their own too. ITS possible.. nobody says they will do it. but its possible
alexey-kuznetsov
@alexey-kuznetsov
Jul 21 2017 09:58
may be
Robert
@robert197
Jul 21 2017 09:58
@alexey-kuznetsov imagine you invest half of your life to build a great software xD your live is fucked up
alexey-kuznetsov
@alexey-kuznetsov
Jul 21 2017 09:58
@robert197 could you help me with a simple question?
Robert
@robert197
Jul 21 2017 09:58
sure
alexey-kuznetsov
@alexey-kuznetsov
Jul 21 2017 09:59
how to transform <a> tags to <Link> ?
this links are present in some content taken from backend
Robert
@robert197
Jul 21 2017 10:01
i have no idea about react. im angular, vuejs, php, nodejs developer
alexey-kuznetsov
@alexey-kuznetsov
Jul 21 2017 10:04
And I'm php-developer
Eugene Obrezkov
@ghaiklor
Jul 21 2017 10:32
they found each other
Sergei Cherniaev
@shdq
Jul 21 2017 10:38
Привет, подскажите, пожалуйста, как получить значение и прокинуть состояние в родителя (Lifting State Up) не для обычного элемента формы через
handleChange(e) { this.props.onValueChange(e.target.value); }
в onChange(this.handleChange), а для кастомного элемента формы (range) который хранит значение <div aria-valuenow="value"></div> и у которого нет событий?
sn00rk
@sn00rk
Jul 21 2017 12:37
а есть более изящный способ рендера списка чисел, чем
{
     [...Array(10)].map((_, i) =>(
        <span key={i}>{i}</span>
     ))
}
Denis Stoyanov
@xgrommx
Jul 21 2017 14:28
@sn00rk Array.from({length: 10}, (_, i) => ...)