This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { withRouter } from 'react-router'; | |
import ArchiveContainer from 'app/components/ArchiveContainer'; | |
import GlobalFooter from 'app/components/Layout/GlobalFooter'; | |
import { getServerPosts, getPostsSuccess, getPostsFail } from 'app/actions/archive'; | |
// getServerPosts function from app/actions/archive | |
export function getServerPosts(queryVars, source) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component, Fragment } from 'react'; | |
class Test extends Component { | |
constructor(props) { | |
super(props); | |
this.additioanlMethod = this.additioanlMethod.bind(this); | |
this.state = { | |
property: 'value', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is making a Wordpress Docker image for developer which includes xDebug, MailHog, ZipArchive, and increased upload size | |
FROM wordpress:php7.3 | |
# Install x-debug | |
RUN apt-get update \ | |
&& pecl install xdebug \ | |
&& docker-php-ext-enable xdebug \ | |
&& yum install unzip |