Skip to content

Instantly share code, notes, and snippets.

@Mobiletainment
Mobiletainment / Austrian-Zipcodes-By-State.json
Created July 9, 2022 19:44
Austrian zipcodes grouped by state (Bundesland) - österreichische Postleitzahlen (PLZ) nach Bundesland gruppiert
[
{
"state": "Burgenland",
"zipcodes": [
"2413",
"2421",
"2422",
"2423",
"2424",
"2425",
@Mobiletainment
Mobiletainment / Austrian-ZipCodes-Mapped-To-State.json
Created July 9, 2022 19:14
Austria's zipcodes mapped to their state (Bundesland) - österreichische Postleitzahlen (PLZ) mit deren Bundesland
{
"1010": "Wien",
"1020": "Wien",
"1030": "Wien",
"1040": "Wien",
"1050": "Wien",
"1060": "Wien",
"1070": "Wien",
"1080": "Wien",
"1090": "Wien",
@Mobiletainment
Mobiletainment / app.tsx
Last active May 31, 2020 21:09
React app that uses Stencil components with type safe bindings and full framework integration
import React from 'react';
// this import uses path mapping under the hood to retrieve the generated source code
import { MyComponent } from 'ui-components-react';
export const App = () => {
return [
<h1>Welcome to React with full Stencil component integration!</h1>,
<MyComponent first="a Web Component / Custom Element"
middle={[
@Mobiletainment
Mobiletainment / stencil.config.ts
Created May 31, 2020 07:42
Stencil component library with React bindings in a Nx monorepo
import { Config } from '@stencil/core';
import { reactOutputTarget } from '@stencil/react-output-target';
import { sass } from '@stencil/sass';
export const config: Config = {
namespace: 'ui-components',
taskQueue: 'async',
outputTargets: [
reactOutputTarget({
@Mobiletainment
Mobiletainment / stencil.config.ts
Created May 30, 2020 19:55
Stencil component library with React bindings
import { Config } from '@stencil/core';
import { reactOutputTarget } from '@stencil/react-output-target';
export const config: Config = {
namespace: 'ui-components',
taskQueue: 'async',
outputTargets: [
reactOutputTarget({
componentCorePackage: 'ui-components',