Live data from Hacker News

Formidable Playbook: A practical guide to building modern applications

formidable.com

11–20 of 21 posts

Re: Formidable Playbook: A practical guide to building modern applications

#15
If you choose to start a new project with React and Webpack, I recommend to use Facebook's official boilerplate[1] and read their really informative user guide. I also find educational to look at the architecture, libraries and configuration of open source non-trivial web applications (e.g. Wordpress Calypso[2]).

[1] https://github.com/facebookincubator/create-react-app

[2] https://github.com/Automattic/wp-calypso

Re: Formidable Playbook: A practical guide to building modern applications

#18

I hadn't heard of DedupePlugin for Webpack, but it strikes me as a potentially dangerous idea. If there's enough duplicate code that using this plugin actually makes a meaningful difference, then I think you have bigger problems.

It's primarily for deduping subdependencies in your dependency tree, the existence of which is not an indication of any problems – it's totally expected that your dependencies might themselves depend on the same libraries.

Re: Formidable Playbook: A practical guide to building modern applications

#19

I'm going to guess this ends up being completely contradictory to http://roca-style.org ROCA: A collection of simple recommendations for decent Web application frontends

Why would you guess that? This ain't our first rodeo.

Re: Formidable Playbook: A practical guide to building modern applications

#20
post #19

I'm going to guess this ends up being completely contradictory to http://roca-style.org ROCA: A collection of simple recommendations for decent Web application frontends

Why would you guess that? This ain't our first rodeo.

Because you started with a bunch of JavaScript recommendations that have nothing to do with the actual design or implementation of the application. It's leading off with the most trivial stuff imaginable.

Specifically, I'm guessing your architecture doesn't implement ROCA server recommendations #2, #5, #9, or client recommendations #1, #4, or #5. I'm happy to be proven wrong, though.

Post reply on HN