Better HN
topnewbestaskshowjobs
Log inSign up

bloodyowl

8 karma · joined Apr 19, 2014 (12y ago) · 12 submissions

Submissions

1.

Principles for Maintainable Codebases(bloodyowl.io ↗)

3 points · by bloodyowl · 1y ago · discuss

2.

GraphQL Client: A simple GraphQL client for React(swan-io.github.io ↗)

1 points · by bloodyowl · 2y ago · 1 comment

comment 3y ago · link · parent

In most programming languages, the default way to alert that something went wrong is to throw an exception. This interrupts the regular flow of the program until, as it crawls up the call stack, it meets a piece of code that handles exceptions in the call stack, thus leaving the happy path. If you’re unlucky, the error is unhandled and can crash your whole program.

4.

An error isn't (always) an exception(swan.io ↗)

6 points · by bloodyowl · 3y ago · 1 comment

comment 9y ago · link · parent

Statically served isn't an opposite of dynamically updated, dynamically fetched and extensible with dynamic parts on the client.

comment 9y ago · link · parent

React is a good paradigm to build UI. That's why people like it and use it more and more. If people both like React and need to create lightweight websites, why won't you let them do it?

comment 9y ago · link · parent

Hello,

I'm in the core Phenomic team.

The idea in Phenomic is that we generate for each page:

- the HTML entry point, rendered like it would be with ReactDOMServer - the data-requirements of the page

That lets us offer the following: - Any page is accessible directly, without runtime (which has advantages regarding performance and SEO) - Navigation works even if JS is disabled - If JavaScript is enabled, the runtime just loads the minimum required data for the next page to display and renders it

Phenomic really is static, it just uses a few techniques that we learnt from the modern front-end development workflows and capabilities :)

8.

Extensible Media Queries for React(github.com ↗)

1 points · by bloodyowl · 11y ago · discuss

comment 11y ago · link · parent

it reduces the necessary LoC and forces you to only define methods in the [[Proto]] land. ES7 will let you define properties in it, but it will effectively be as if you defined them in the constructor.

comment 11y ago · link · parent

no, it's just syntactic sugar

11.

A 4k simple view manager inspired by backbonejs(github.com ↗)

1 points · by bloodyowl · 12y ago · discuss