Brian Mearns
1 min readMar 6, 2018

--

How does the hypothetical example do all the same things as the real example? It doesn’t seem to initialize the store with a preloaded state, and it creates a store instead of a factory function for a store. Other than that, it seems the only real difference is a bit of syntax around how options are provided.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Brian Mearns
Brian Mearns

Written by Brian Mearns

Software Engineer since 2007 ・ Parent ・ Mediocre Runner ・ Flower and Tree Enthusiast ・ Crappy Wood Worker ・ he/him or they/them

No responses yet

Write a response