- Gatsby and Next are both based on React.
- No technical details here, just some personal opinions and resources
- Why not just Drupal Twig an jQuery
- When to use a Drupal backend
- When to use a Drupal frontend
- React and Vue
- Gatsby and Next
const toggleMachine = new Machine({ | |
id: 'toggleMachine', | |
initial: 'inactive', | |
states: { | |
inactive: { | |
on: { | |
TOGGLE: 'active' | |
} | |
}, | |
active: { |
#!/bin/bash | |
team=("Stephanie" "Dan" "Tish" "Alex" "Blazej" "John" "Mattia" "Christophe" "Maria" "Matt" "Gesche" "Lisa" "Dominic" "Nick" "Jamie" "Thomas" "Vasi" "Inky" "Chris" "Philipp" "Marco" "Beat") | |
suspense=("Picking" "🤔Changing" "😛Cheating") | |
RANDOM=$$$(date +%s) | |
# Get the winner | |
winner=${team[$RANDOM % ${#team[@]} ]} | |
# Produce some suspense |
<?php | |
/** | |
* @file Testing multiple curl / single curl. | |
*/ | |
/** | |
* Multi curl. | |
* | |
* @param array $urls |
<VirtualHost *:80> | |
SuexecUserGroup "#1000" "#1000" | |
ServerName app.domain.com | |
ServerAlias www.app.domain.be | |
DocumentRoot /home/domain/public_html | |
ErrorLog /var/log/virtualmin/app.domain.com_error_log | |
CustomLog /var/log/virtualmin/app.domain.com_access_log combined | |
DirectoryIndex index.html index.htm | |
# Various rewrite rules. | |
<IfModule mod_rewrite.c> |
name: drupal-solr | |
recipe: drupal8 | |
config: | |
# PHP 7 is required for Search API Solr > 2. | |
php: '7.4' | |
webroot: web | |
proxy: | |
search: |
name: drupal-8x | |
recipe: drupal8 | |
config: | |
webroot: web | |
# Get nice URL's | |
proxy: | |
mailhog: | |
- mail.drupal8.lndo.site | |
pma: | |
- pma.drupal8.lndo.site |
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
import withStyles from 'isomorphic-style-loader/lib/withStyles'; | |
import s from './ItineraryListPage.css'; | |
import ItineraryTeaser from '../../components/ItineraryTeaser'; | |
import ItineraryListHeader from '../../components/ItineraryListHeader'; | |
import { JSON_API_URL } from '../../constants/env'; | |
class ItineraryListPage extends React.Component { | |
static propTypes = { |