Stack Exchange
log in
users (10)
rooms (13)
faq
Justin Harwood
general
recent
conversations
JavaScript
Topic: Anything JavaScript, ECMAScript including Node, React, ...
3
Justin Harwood
Jun 12, 2017 18:56
Hello, world
Justin Harwood
Mar 11, 2017 03:07
is anyone here good with react? quick question
Justin Harwood
Oct 26, 2016 19:15
hello world
Justin Harwood
Oct 20, 2016 17:58
like i put a Date.now above the render, then passed it in, and it was only refreshing every once in a while. i put a Date.now() directly in the router render and it updated every refresh.
Justin Harwood
Oct 20, 2016 17:57
i'm passing in a result set from a query placed above the router render part
Justin Harwood
Oct 20, 2016 17:56
i think my issue is that i'm not calling a function to render a "select" on every refresh.
Justin Harwood
Oct 20, 2016 17:55
when i put an action**
Justin Harwood
Oct 20, 2016 17:55
i tried putting it at the top of my route initially but that didn't work
Justin Harwood
Oct 20, 2016 17:55
when i sat an action on a form, why does it go looking for a .post in app.js?
Justin Harwood
Oct 20, 2016 17:54
MVC?
Justin Harwood
Oct 20, 2016 17:53
and the "insert" in app.js
Justin Harwood
Oct 20, 2016 17:53
i have my "select" in the the route
Justin Harwood
Oct 20, 2016 17:52
where should i be putting my database logic in an express app?
Justin Harwood
Oct 20, 2016 17:19
lol i had an internship a year and a half ago where i exclusively wrote stored procs in sql server
Justin Harwood
Oct 20, 2016 17:13
<3 sql
Justin Harwood
Oct 20, 2016 17:13
i'm used to LAMP stack
Justin Harwood
Oct 20, 2016 17:12
ok ssube. ill console.log some variables
Justin Harwood
Oct 20, 2016 17:11
i wonder if it has to do with my router? refreshing "/mysql_test" doesn't seem to initiate a fresh select
Justin Harwood
Oct 20, 2016 17:10
neat! thanks
Justin Harwood
Oct 20, 2016 17:09
what do you mean @ssube? by not using DB driver directly
Justin Harwood
Oct 20, 2016 17:06
should i include my mysql_test router?
Justin Harwood
Oct 20, 2016 17:06
i got rid of result in the .query callback. still the same outcome. no instant update.
Justin Harwood
Oct 20, 2016 17:05
i wouldnt ship this in any capacity
Justin Harwood
Oct 20, 2016 17:05
yeah, i'm just trying to get the basics of mysql/js down
Justin Harwood
Oct 20, 2016 17:01
i want new inserts to be displayed instantly upon reload
Justin Harwood
Oct 20, 2016 17:01
it's confusing that refresh doesn't trigger a fresh query
Justin Harwood
Oct 20, 2016 16:58
any ideas?
Justin Harwood
Oct 20, 2016 16:58
just submitted this question:
stackoverflow.com/questions/40160234/…
Justin Harwood
Oct 20, 2016 16:57
anyone good with node/express?
HTML / CSS / WebDesign
This room is now defunct. RIP.
Justin Harwood
Oct 28, 2016 15:54
anyone here good at css?