HNHacker News
TopNewBestAskShowJobs

ReactNative22

55 karma · joined March 24, 2022

submissionscomments
ReactNative22··on Show HN: React Routing in 120 lines (including comments)
I updated the repo for this (and credited you in the code). If you have time, please feel free to review & improve as looks like quite a few people are using the code now: https://github.com/ashok-khanna/react-snippets/blob/main/Rou...
ReactNative22··on A Fast Excel Formula Parser and Evaluator
Unfortunately I'm restricted on the programs I can use at work, but it does look good! Good luck with it!
ReactNative22··on A Fast Excel Formula Parser and Evaluator
Python and Pandas > Excel for anything outside of exploratory spreadsheet-y like calculations (I work frequently with 200k rows + of data, I _had_ to learn Python as Excel was too slow eventually and broke...now having a programming language to do formulae, I can't go back for any of my production processes, using excel now mostly for pivot tables and exploratory analysis (Excel is pretty awesome at that)
ReactNative22··on A Fast Excel Formula Parser and Evaluator
You could put that into a VBA formula, although it wouldn't be as fast unfortunately (as I learned when I tried simplifying excel formulae - which are _compiled_ whereas VBA I think is interpreted? - in any case, excel was like 50x faster for me).

I assume you have tried the '$' signs to see if they will help?

ReactNative22··on Show HN: React Routing in 120 lines (including comments)
Thank you, I agree
ReactNative22··on Show HN: React Routing in 120 lines (including comments)
Thanks for this!
ReactNative22··on Show HN: React Routing in 120 lines (including comments)
Thanks Chris, you are awesome - this is definitely a much better approach since it gets rid of an additional Link Component
ReactNative22··on Show HN: React Routing in 120 lines (including comments)
Thanks for this. Does this add an event listener to "all" clicks or only for clicks on <a href>?
ReactNative22··on Show HN: React Routing in 120 lines (including comments)
> There's one thing, you should redirect all the pages to one single endpoint in server side order to use "pushState". Otherwise it will return 404 when you hit the refresh button. If you don't own a server, you can support routing with hashtag "#" and listen to "onhashchange" event instead of "popstate".

Could you explain this one a bit more / maybe some example code I could borrow from? :)

ReactNative22··on Show HN: React Routing in 120 lines (including comments)
Thanks :) :)
ReactNative22··on Show HN: React Routing in 120 lines (including comments)
I don't get it...this is a simple library that people can use without bringing in external dependencies. Of course it won't be as functional as React-Router - that goes without saying!!
ReactNative22··on ClojureRS – Clojure interpreter implemented in Rust
Now can someone do the same for Common Lisp :D That would be amazing
ReactNative22··on Increasing the surface area of blogging
What do you think of Reddit? Subreddits have kinda replaced usenet groups of old. OR is it too much moderation for you?

Also how to handle spam, thats been a killer for usenet lately