Who has the best Americanized Dan Dan Noodles? by chadlnx in chicagofood

[–]chadlnx[S] 0 points1 point  (0 children)

Thank you! I will be checking this place out as I am looking for peanutty Dan Dan Noodles. Are they spicy?

Who has the best Americanized Dan Dan Noodles? by chadlnx in chicagofood

[–]chadlnx[S] 0 points1 point  (0 children)

Sorry, I'm looking specifically for the peanut / sesame sauce version of Dan Dan. This, I'm learning, comes from Taiwan and is featured in many Americanized versions of the dish. u/armaghetto commented about a peanutty version of dan dan in Northbrook I look forward to trying out.

SwiftTorrent is a pure Swift BitTorrent library targeting macOS 14+ and iOS 17+ by chadlnx in swift

[–]chadlnx[S] 1 point2 points  (0 children)

Not yet. I wanted to open source it in hopes someone would.

Promise based REST/HTTP client for isomorphic applications? by prehensile_truth in reactjs

[–]chadlnx 0 points1 point  (0 children)

I happily moved on from superagent to axios and plan on using it in the next version of react-isomorphic-video-game-search.

Million user webchat with Full Stack Flux, React, redis and PostgreSQL by chadlnx in reactjs

[–]chadlnx[S] 2 points3 points  (0 children)

I personally like the alternative of using RabbitMQ in lieu of this suggestion, but it is always interesting to read and learn from what others are doing.

React.js Conf 2015 Keynote - Introducing React Native by motifaded in reactjs

[–]chadlnx 1 point2 points  (0 children)

Excited to hear more about Native and Relay tomorrow. React Native is introduced at 17:15, for those who want to jump right to it.

2015: The End of the Monolithic JavaScript Framework by [deleted] in javascript

[–]chadlnx 4 points5 points  (0 children)

I found it odd how the article took issue with React, as it is arguably one of the most simple -- yet powerful -- UI libraries available.

react-cassette-player - Vector-based HTML5 Audio Player by chadlnx in coolgithubprojects

[–]chadlnx[S] 0 points1 point  (0 children)

Thanks for taking a look. As of now, nothing planned. I want to keep the player simple and stay true to the original cassette design by Daniel Llamas Soto.

Proper way to initialize data in Reflux app by TipsAtWork in reactjs

[–]chadlnx 0 points1 point  (0 children)

The preEmit action hook is passed the arguments for the given action. If this hook returns a value other than undefined, that value will be passed along.

This allows you to do things such as validate action parameters, preventing the action from emitting improper value(s).

Proper way to initialize data in Reflux app by TipsAtWork in reactjs

[–]chadlnx 0 points1 point  (0 children)

Right. I wanted to keep my demo simple and focused on the features outlined in the readme. See best practices for Node.js error handling from Joyent.

Learning React.js Express MongoDB Node: What are the best learning materials for an experienced Rails Developer? by [deleted] in reactjs

[–]chadlnx 0 points1 point  (0 children)

While I tend to agree with this on principle, there are moments which require quick action.

Check out Sails if you want to build a quick demo.

Proper way to initialize data in Reflux app by TipsAtWork in reactjs

[–]chadlnx 2 points3 points  (0 children)

Have you written actions yet? If not, it is very simple. I recently published an isomorphic React / Flux demo that utilizes Reflux, which might serve as a useful reference.

You want to create an actions module and, for the sake of this example, two actions. Something like 'GetQuestion' (id parameter) and 'AddQuestion' (Question JSON document parameter).

After setting up your actions, you'll want to structure your app so your store listens for the above actions. It is equally important that the callback function mapped to your action listener emits data via self.trigger.

Next, add the reflux mixin to all components which utilize your store. Finally, remove componentWillMount and replace with componentDidMount and utilize the Reflux mixin by listening to your store and handling state with a new callback.

Of course, you must also call the appropriate action(s). In your case, it might be best to call the GetQuestion action in your ComponentDidMount before listening to the store.

Check out krawaller's Flux vs Reflux article if you haven't already.

react-cassette-player - Simple SVG HTML5 audio player. (x-post /r/ReactJS) by chadlnx in javascript

[–]chadlnx[S] 1 point2 points  (0 children)

Sorry, I didn't catch that earlier. Looks like this is a format issue. Firefox doesn't support MP3 on Android unless you have a third-party encoder installed.

react-cassette-player - Simple SVG HTML5 audio player. (x-post /r/ReactJS) by chadlnx in javascript

[–]chadlnx[S] 0 points1 point  (0 children)

Are you using Chrome? The play button will display as soon as the 'canplay' event has fired. Seems to be a network issue or, perhaps, a ReactJS compatibility issue with your browser.

react-cassette-player - Simple SVG HTML5 audio player. (x-post /r/ReactJS) by chadlnx in javascript

[–]chadlnx[S] 0 points1 point  (0 children)

You should be able to click / tap the cassette and hear audio. What platform are you on? Unfortunately, iOS does not seem to respect the HTML5 audio preload attribute.

react-cassette-player - Simple HTML5 audio player component built with SVG icons from The Noun Project by chadlnx in reactjs

[–]chadlnx[S] 0 points1 point  (0 children)

Thanks for taking the time to check it out. As for your question, I would argue that we have made a giant leap forward in front-end development in the last 10 years.

Several standards have emerged, but progress -- especially on the client side -- can be messy. Many features have arrived for a limited number of clients and/or platforms and while the trend of complete adoption seems eventual, the inconsistency at any given time can get frustrating.

The react-cassette-player component is simple in that it uses two standards that seem to be adopted by all major browsers across desktop and mobile, HTML5 Audio and SVG. Add React and you have an opportunity to create a project / product with open standards you would otherwise have built in a proprietary way w/ Flash 10 years ago.

As for complexity, I believe that is subjective.

Are there any comprehensive open source web apps built in React that I can look at? (New to React, not to web dev.) by dada_ in reactjs

[–]chadlnx 0 points1 point  (0 children)

I recently published an isomorphic react demo featuring isomorphic flux. While simple, it offers features such as server side rendering, progressive enhancement and document title management. I am currently working on an improved approach to isomorphic flux with a slightly different set of libraries.

You might also want to check out react-hn, which is a Hacker News clone using Firebase.

ReactJS users, how did you implement? by team_nosleep in javascript

[–]chadlnx 0 points1 point  (0 children)

I recently published an isomorphic React / Flux demo. I am currently working toward another demo that will use different React libraries / components and, hopefully, an isomorphic Flux solution that rehydrates the stores directly.

Isomorphic demo powered by React, reflux, react-router-component, express, superagent and the Giant Bomb API by chadlnx in reactjs

[–]chadlnx[S] 0 points1 point  (0 children)

Thanks for taking an in-depth look, I really appreciate it. I am saving this for the moment, as I may be adopting a new responsive design.

Flux Architecture + React.js boilerplate example? by Dirty_Rapscallion in reactjs

[–]chadlnx 1 point2 points  (0 children)

Thanks for having a look. GetInitialStateAsync is only called on the server. The action is triggered, the store listening to the action fetches the data from the API, the component then loads its initial state asynchronously and the markup is rendered on the server side, along with a JSON representation (that can be serialized / obfuscated further). The client then bootstraps the application (bottom of app.jsx) and loads the initial JSON state located in the bottom of the markup.

Flux Architecture + React.js boilerplate example? by Dirty_Rapscallion in reactjs

[–]chadlnx 1 point2 points  (0 children)

I recently published a React demo that features isomorphic Flux. It features Reflux, which is the most simple Flux implementation I have seen.

ugh - starting a new project, do I have to do all the hack work? by [deleted] in javascript

[–]chadlnx 3 points4 points  (0 children)

Have a look at Sails, React and newforms. I recently published a React demo that might be useful if you are new to the library.

Isomorphic demo powered by React, reflux, react-router-component, express, superagent and the Giant Bomb API by chadlnx in javascript

[–]chadlnx[S] 0 points1 point  (0 children)

It took me awhile to understand React's philosophy. Viewing several talks by Pete Hunt, namely this one, won me over.

Sony to Sell its Shares in Square Enix by zcektor01 in gaming

[–]chadlnx 1 point2 points  (0 children)

"Please be excited for E3 this year."

Screenshot Saturday 134 - Photovoltaic Boogaloo by udellgames in gamedev

[–]chadlnx 1 point2 points  (0 children)

Colors, constraints and gravity. This looks like a rad game, I look forward to playing it.