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 from 'react'; | |
| function App() { | |
| return ( | |
| ); | |
| } | |
| export default App; |
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 from 'react'; | |
| function Page(props) { | |
| return ( | |
| <h2>{props.title}</h2> | |
| ); | |
| } | |
| export default Page; |
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
| server { | |
| # The root build location for the client-side application | |
| root /var/www/react-vanilla-next-side-by-side/client-side/build; | |
| # Next.js static content location | |
| location /_next/static { | |
| proxy_pass http://127.0.0.1:3000; | |
| } | |
| # |
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 from 'react'; | |
| import Head from 'next/head' | |
| const title = 'Sample About'; | |
| const description = 'Testing side by side'; | |
| function About() { | |
| return ( | |
| <div> | |
| <Head> |
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
| server { | |
| # The root build location for the client-side application | |
| root /var/www/react-vanilla-next-side-by-side/client-side/build; | |
| # Next.js static content location | |
| location /_next/static { | |
| proxy_pass http://127.0.0.1:3000; | |
| } | |
| # |
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 from 'react'; | |
| import Head from 'next/head' | |
| const title = 'Blog Post 1'; | |
| const description = 'Testing side by side'; | |
| function BlogPost() { | |
| return ( | |
| <div> | |
| <Head> |
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 from 'react'; | |
| import Head from 'next/head' | |
| const title = 'Sample About'; | |
| const description = 'Testing side by side'; | |
| function About() { | |
| return ( | |
| <div> | |
| <Head> |
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 from 'react'; | |
| import Head from 'next/head' | |
| const title = 'Sample About'; | |
| const description = 'Testing side by side'; | |
| function About() { | |
| return ( | |
| <div> | |
| <Head> |
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
| public static void ResignFirstResponderOnTap(this UIView view) | |
| { | |
| var gesture = new UITapGestureRecognizer(() => { | |
| view.EndEditing(true); | |
| }); | |
| gesture.CancelsTouchesInView = false; //for iOS5 | |
| view.AddGestureRecognizer(gesture); | |
| } |
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
| View.ResignFirstResponderOnTap(); //SEE BELOW |
NewerOlder