menu
Channels
Team
Posts
Chat
Members
Info
Show previous messages

October 11, 2019 at 2:45am
I honestly never knew about this Chat, never clicked on it as 👇 seemed to meant, it's disabled.
Edited
  • reply
  • like
  • reply
  • like
Enabled for now :)
  • reply
  • like
😅 It looks like there is Chat for each community. I've been missing out much. FOMO kicking in
Edited
  • reply
  • like

October 14, 2019 at 12:30am
Hi guys, I am new here
  • reply
  • like

October 18, 2019 at 9:15pm
😅 It looks like there is Chat for each community. I've been missing out much. FOMO kicking in
Привет
  • reply
  • like
  • reply
  • like

October 22, 2019 at 11:16am
I have a problem related to rect
  • reply
  • like
teact
  • reply
  • like
Write a TodoList component that expects an items prop, and a list of objects, each with text and done properties. TodoList also accepts an onItemClick function prop, which should be called when a user clicks an item in the list, if the item is not marked as done. Otherwise, the onItemClick should not be called and the click event itself should not be propagated further. The function should be called with the item object from the items list as the first parameter and the event as the second parameter.const TodoItem = (props) => <li onClick={props.onClick}>{props.item.text}</li> class TodoList extends React.Component { render() { const { items, onClick } = this.props; return (<ul onClick={onClick}> {items.map((item, index) => <TodoItem item={item} key={index} onClick={this.handleItemClick.bind(this, item)}/>)} </ul>); } handleItemClick(item, event) { // Write your code here if(!item.done) this.props.onClick(item); } } const items = [ { text: 'Buy grocery', done: true }, { text: 'Play guitar', done: false }, { text: 'Romantic dinner', done: false } ]; const App = (props) => <TodoList items={props.items} onItemClick={(item, event) => { console.log(item, event) }} />; document.body.innerHTML = "<div id='root'></div>"; const rootElement = document.getElementById("root"); ReactDOM.render(<App items={items}/>, rootElement);
  • reply
  • like
can someone help to solve this
  • reply
  • like

October 22, 2019 at 11:03pm
Hey guys, I', new
  • reply
  • like

October 24, 2019 at 10:29am
Hello Guys I am facing problem to pass headers in axois can any one help in this.
  • reply
  • like
const url = API_URL+path headers = {"headers":getTokenHeaders()} const request = axios.post(url,data,headers); request.then(response => { dispatch({ type : type, payload : response.data })
}).catch(error => {
dispatch({
type : type,
payload : "Failed"
})
});
  • reply
  • like

October 31, 2019 at 10:06am
Any idea on how to set the border styling to a material UI grid item?
  • reply
  • like

November 13, 2019 at 12:07pm
Sorry if this has been asked before but I was wondering if React has something like single file components (SFC) the way Vue does it. I am not so familiar with the JSX things but can you have all of the HTML, CSS and JS in one file? Thanks.
  • reply
  • like

November 14, 2019 at 3:43pm

November 15, 2019 at 11:47am
Hey guys, can someone give me some feedback on this piece of code? I am using hooks and I wanted to throttle an api call, but I'm not really understanding the difference between useMemo and useCallback. I did this:
const updateContent = useMemo(
() => _.throttle((my_api_argument) => {
// my api request
}, 500),
[]);
Edited
  • reply
  • like

November 17, 2019 at 12:10am
How to use react key map imags
  • reply
  • like

November 20, 2019 at 7:20pm
Hello guys,can i create and update cart for restaurant in react native
  • reply
  • like

November 23, 2019 at 12:01pm
You can if you want to
  • reply
  • like
Been cleaning up post all morning. Just a few suggestions.....
Please try and refrain from titling your post as "Please Help" or "I need help" or even "problem!!!". This offers the community nothing when searching for things in the future. Please title your post to the topic you need help with, and refrain from saying you need help, as we know that already.
Another would be to use codeblocks for example code, or use a codepen. If you're asking for help, please provide this as a courtesy. It's almost impossible to help you otherwise.
Thanks for listening. Together we can make this community an amazing resource for now and the future. 🧙‍♂️
like-fill
1
  • reply
  • like

November 27, 2019 at 7:04am
hi guys how to fix this missing module
  • reply
  • like
./src/components/site/VerticalChart.js Module not found: Can't resolve 'd3' in 'C:\Users\LENOVO\Hekma\analytics\Frontend\src\components\site'
  • reply
  • like
Show more messages