bloodyowl
GraphQL Client: A simple GraphQL client for React
Re:An error isn't (always) an exception
on Wednesday July 26, 2023 @09:00AM (#36876931)
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.
An error isn't (always) an exception
Re:A static website with React
on Friday February 17, 2017 @05:36PM (#13672330)
Statically served isn't an opposite of dynamically updated, dynamically fetched and extensible with dynamic parts on the client.
Re:A static website with React
on Friday February 17, 2017 @05:33PM (#13672311)
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?
Re:A static website with React
on Friday February 17, 2017 @05:29PM (#13672278)
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 :)
Extensible Media Queries for React
Re:React v0.13 released
on Tuesday March 10, 2015 @08:07PM (#9181666)
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.
Re:React v0.13 released
on Tuesday March 10, 2015 @08:04PM (#9181648)
no, it's just syntactic sugar