Hey guys, Im having trouble updating my Vue JS component to show and hide -- it works with initial data but when you dynamically add a new element to the DOM, the click even fires but the show/hide doesn't work
could anyone help?
@JackEdwardLyons I don't have any vue experience, but I could take a look
hello i am doing basic css but it seems I have a problem withfloat left and inline-block. I was just wondering should I learn flexbox to make this layout good?? https://codepen.io/jcunanan05/pen/gWmraE
@jcunanan05 flex is very useful - i would recommend to learn it either way
@jcunanan05 I mean if you remove them it wont overflow, whats your intention exactly?
Hi guys! Can someone suggest me good resources on how to connect a React front-end to a back-end? How to package/distribute all the files? How to connect with the APIs? Which APIs are required? How using APIs in React is different than in JQuery? How to get real-time updates from the back-end? Thanks!
@aguyinmontreal create-react-app is designed to create a distributable package for React. The APIs would depend on the application. You can use JQuery to make your API calls in React, just have to put the requests in specific life cycle methods (you can also use browser fetch API) Real time updates would generally be done with web sockets and that is not React specific
@etcIgor which text are you trying to center?
that is under the image...
@kartikv20 no, I'm good with Express/NodeJs/Jquery / however React is new to me
for API, jQuery is outdated
it has a relatively simple format
Sweet Coding :)
since when XMLHttpRequest become outdated?
@sjames1958gm thanks, I heard that when using React, we had to avoid mix it with Jquery at all cost, what's your stand on that? What else do you suggest for APIs?
aguyinmontreal sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
@etcIgor Since that p has col-md-8 col-md-offset-2 try
@aguyinmontreal axios is good too
@aguyinmontreal I don't agree with avoid at all cost type statements. You use the tools that are appropriate. I would look to solving the problem with native tools such as fetch API before going to use jquery. Certainly a lot of jquery is HTML formatting which would not be useful when you are using React for that.