Skip to content

Instantly share code, notes, and snippets.

@frankzickert
Last active August 21, 2019 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frankzickert/4807e70ccaf90a18cb1147a678fa9ad0 to your computer and use it in GitHub Desktop.
Save frankzickert/4807e70ccaf90a18cb1147a678fa9ad0 to your computer and use it in GitHub Desktop.
An excerpt of index.tsx of a full-stack React app
export default (
<ServiceOrientedApp
stackName = "soa-dl"
buildPath = 'build'
region='eu-west-1'>
<Environment name="dev" />
<Route
path='/'
name='My Service-Oriented React App'
render={()=><DataForm />}
/>
<DataLayer id="datalayer">
<UserEntry />
<GetUserService />
<AddUserService />
</DataLayer>
</ServiceOrientedApp>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment