ryelle / Foxhound

A text-focused blog theme for WordPress (in React)
https://themes.redradar.net/foxhound
349 stars 39 forks source link

Refactor to redux, query components, & the wordpress-rest-api module #4

Closed ryelle closed 8 years ago

ryelle commented 8 years ago

stream of consciousness PR, mostly for personal notes

Adds redux + query components in a submodule; perhaps eventually to be released as an npm module – or two? trying to separate them out was harder than it seemed, but a lot has changed while working to this point. trying again in the future is possible. Might also disregard the "ducks" approach if so, and bundle instead with each query-component?

Other updates:

Somewhere along the lines I've introduced a javascript error Uncaught TypeError: Cannot read property 'replaceChild' of null — but everything appears to work anyway? Thinking it's related to the query components. (will handle in future commits)