- react newb and yesterday was the first time I really looked at React Router.
I deduce there was a request to remove location info for a user. Not that I was seriously accused, but just putting it out there for my rep that I didn’t put the sn together with the general location.
I asked for it to be removed, it’s on me for commenting about it, all is well, microbet is cool and his project is cool too.
React question
Say you need data from a db and you’re going to present different parts of this data in different ways as people click on your page. You could grab this piece or that as you need it or you could just grab a bunch and put it in a slightly complicated object and keep that on the React side (in state) and use the parts you need as you need them.
Like, how much data would you want to do this with?
Seems like you’d want to do this with even what seems like a lot of text data. Is that pretty standard?
I see this: reactjs - What is considered "Too much data" in react state - Stack Overflow and the recommendation seems to be “don’t store 100000 data rows in the user’s RAM”, but what about 1000 or 10000?
Other similar SO questions are answered with “test it before optimizing”, but this seems like maybe people who do this a lot have some kind of general rule of thumb.
1000 is fine. 10k probably fine unless it’s an android.
The moderators of this message board, otatop, L.Washington, WichitaDM, Yuv, JonnyA, RiskyFlush, and SvenO, are cowards who let abusers dox and harrass other long time posters.
Or what Grue said. I wasn’t thinking react-specific.
So, I have a react application I’m working on that allows the user to search for companies that file certain kinds of SEC reports. As it’s configured now, the application has a big (~1MB) data object with about 13k entries that it downloads upfront and uses to do a search preview as you type. I think that’s not state because it’s constant, so is that OK? But it would be bad if my app stored a state object for “companies starting with the letter _”, that then would be unwise?
The moderators of this message board, otatop, L.Washington, WichitaDM, Yuv, JonnyA, RiskyFlush, and SvenO, are cowards who let abusers dox and harrass other long time posters.
What’s the appropriate way to do a responsive search preview? Does it help to structure the data in some way (a tree with 13k leaves)? Or is it just a bad idea if you have that much data?
We have a pretty complicated react table that loads 1500 rows for our biggest donor. It sorts, paginates (all client side - the entire object is loaded up front), filters, etc. no problem - even on Android phones. I was surprised.
The moderators of this message board, otatop, L.Washington, WichitaDM, Yuv, JonnyA, RiskyFlush, and SvenO, are cowards who let abusers dox and harrass other long time posters.
The moderators of this message board, otatop, L.Washington, WichitaDM, Yuv, JonnyA, RiskyFlush, and SvenO, are cowards who let abusers dox and harrass other long time posters.
So I know this is a weird place to ask this… but in a hypothetical world where I was thinking about becoming a freelance penetration tester where would I start? (I’m totally happy with being a freight broker, but it never hurts to diversify and I feel like having this option at least explored is good from both the ‘what if my industry blows up for some reason’ and a ‘world goes completely to shit’ angles.)
I have access to a really strong community college system here in Austin that has a 2 year associates in cyber security + I’m god tier on the phone… which means I can probably do the social engineering part at an expert level.
What do I need to know and where should I start?
Kinda makes sense because the compiler can check to make sure the string literal exists as a property - but not the variable at run time.
Maybe typescript has some kind of enum-like thing (a list of literals) that you can use so the compiler knows it’s getting a valid property name.
Edit: ponied
I’m going to the OC Python meetup tonight.
The moderators of this message board, otatop, L.Washington, WichitaDM, Yuv, JonnyA, RiskyFlush, and SvenO, are cowards who let abusers dox and harrass other long time posters.
It’s culty and you need to trust pypi.org
The moderators of this message board, otatop, L.Washington, WichitaDM, Yuv, JonnyA, RiskyFlush, and SvenO, are cowards who let abusers dox and harrass other long time posters.
Meh? But I googled and got told you should set "–trusted-host pypi.org " or something like that, but I assume you googled it and saw that stuff too.