Monday & #ReactNative 💙 #iOS #Android #mobile #apps #DevOps #software

Monday & #ReactNative 💙 


#iOS #Android #mobile #apps #DevOps #software

  • That’s why, today I’d like to share a number of things that boost my productivity while creating mobile app in React Native.
  • Storybook allows you to create stories in which you prepare pre filled UI elements with data that could possibly show up there during normal app lifetime.
  • Later within a few seconds you can easily go through all stories that you’ve described and see how they look on your device / emulator without the need of going through all of these states in normal app flow which takes much longer time.
  • This is a tiny example of a single story, however if you develop a normal app, you will surely have much more of them which may cover all of possible UI states for your components.
  • If your app grows, it’s easy to guess that tests will not run in a matter of milliseconds, but it’s still normal to have a result of them within 1-3 seconds from the time that you saved your file.

A developer needs tools that support her/his workflow to be fully productive. Well, I guess that this statement fits to any profession that you can think of. It is really important for me to feel that the environment that I’m working in really supports my flow and works well with my approach to software development.
Continue reading “Monday & #ReactNative 💙

#iOS #Android #mobile #apps #DevOps #software”

Building a Wizard / Workflow in React – Entelo Engineering

Building a Wizard / Workflow in React  #react #reactjs #tutorial #reactjs

  • Here are just a few examples:User Registration with multiple formsBreaking large forms into smaller stepsE-commerce checkout flowMulti-page surveysI’ve had previous experiences building out a checkout flow for e-commerce companies, but this was the first time I had to build a workflow using React.Here is the design and the approach I…
  • Finally, we end the workflow with a confirmation page.Each step of the workflow is a separate route we will define in our routes file when using react-router.
  • As we navigate from one step to the next, we will advance the progress bar along with rendering a new container with the next step’s contents.Choosing a Progress BarFor the progress bar, we decided to use the libraryThis is a very simple progress bar and the API is straightforward.
  • Below are some examples of what the progress bar looks like as we move from one step to the next.First StepNext Step to show progression in the workflowFinal StepReact RouterSet up the route to determine what step of the flow we are in.Route path=”jobs/:id/:step” /The id and step will be passed…
  • In the component, we will create a switch case statement to determine what component to render.switch (step) { case (‘description’): return (DescriptionContainer /); case (‘criteria’): return (CriteriaContainer /); …}We also use this stepvalue to calculate the progress bar distance and what progress label should be bold.ContainersWe have a series of…

One of my first tasks at Entelo was to work on a greenfield project that involved a step-by-step wizard. Workflows/wizards are useful when you want the end-user to complete a series of steps. (I’ll…
Continue reading “Building a Wizard / Workflow in React – Entelo Engineering”

A Modern Cross-Platform approach to µServices in .NET — Pelotech

A Modern Cross-Platform Approach to µServices in .NET

  • 😉 – – Recently I moved the NYC from Seattle and although I love both cities it’s definitely been a different experience meeting people.
  • For example I was surprised to see that for the most part everything in these posts works the same in Windows, Linux, and macOS.
  • After a wonderful chat about people stuck in their ways and how you could bring modern style development and ops to people that are used to a stack that doesn’t really promote that, I wondered if it would be possible to get a quick micro style service running on docker…
  • The idea is that we’ll have a simple C# REST service where we can store and retrieve information about the organizations available web apps.
  • Then we’ll have a gRPC service that has information about the state of the service (things like online, offline, etc).

How did I come about to try this out? TLDR: This implementation came out of a conversation about modernizing a .NET shop to make use of modern micro-service paradigms. 😉
Continue reading “A Modern Cross-Platform approach to µServices in .NET — Pelotech”

Game Development with React and PHP: How Compatible Are They? — SitePoint

  • pre: – use Aerys\Router; – use App\Action\HomeAction; – – return (Router $router) = { – $router-route( – “GET”, “/”, new HomeAction – ); – }; – – And, from routes/api.
  • pre: – use Aerys\Router; – use (Router $router) = { – $router-route( – “GET”, “/api”, new HomeAction – ); – }; – – Though simple routes, these helped me to test the code in config.pre.
  • From App\Action; – – use Aerys\Request; – use Aerys\Response; – – class HomeAction – { – public function __invoke(Request $request, – Response $response) – { – $response-end(“hello world”); – } – } – – One final touch was to add shortcut scripts, to launch dev and prod versions of the…
  • From composer.json: – “scripts”: { – “dev”: “vendor/bin/aerys -d -c loader.php”, – “prod”: “vendor/bin/aerys -c loader.php” – }, – “config”: { – “process-timeout”: 0 – }, – – With all of this done, I could spin up a new server, and visit http://127.0.0.1:8080 just by typing: – composer dev -…
  • js”); – – $response-end(” – div class=’app’/div – script src='{$path}’/script – “); – } – – I realized I could keep creating functions that returned promises, and use them in this way to keep my code asynchronous.

Chris bootstraps a basic Stardew-Valley-like game in this game development with PHP post, using an async server, preprocessors, and ReactJS!
Continue reading “Game Development with React and PHP: How Compatible Are They? — SitePoint”

⚛️ 🚀 Introducing React-Static — A progressive static-site framework for React!

  • How well that static site performs and how easily you can build that site is another story.ProsVery easy to get startedWell documentedConsSubpar developer experience for static functionality no hot-reloadingLarge per-page JS bundles, resulting in a lot of unnecessary duplicate code being downloaded.Difficult root component customizationDestructive routing.
  • We also knew that we needed to ditch built-in proprietary connectors ASAP; being able to get your data from anywhere is important, but the ability to use and access that data in your site is paramount.Most importantly, we needed a tool that would allow us to build things like an…
  • It’s insanely fast, touts fantastic SEO capabilities, and is probably the most React-friendly static-site library on the internet.Let’s get to it.How does it work?react-static starts by exporting a single JS bundle, which includes every template for your entire site.
  • To connect a component to this data, you use a convenient HOC called getRouteProps.The HTML files generated by react-static ensure that pages load instantly and are optimized for SEO.Once the page is loaded, your site invisibly and instantly transitions to your react app.At this point, navigating around your app will…
  • You’ve worked hard enough producing and organizing all of the data for your website, so the last thing you need is some superfluous GraphQL layer or custom component lifecycle lodging itself between your data and your pages.

At Nozzle.io, we take SEO, site performance, and user/developer experience very seriously. Over the last year, we’ve launched many sites using different static site tools that claim to solve these…
Continue reading “⚛️ 🚀 Introducing React-Static — A progressive static-site framework for React!”

I am Loving this Jelly Fish Splash React Animation see via @CodePen #ReactJs #React

  • You can apply CSS to your Pen from any stylesheet on the web.
  • Just put a URL to it here and we’ll apply it, in the order you have them, before the CSS in the Pen itself.
  • If the stylesheet you link to has the file extension of a preprocessor, we’ll attempt to process it before applying.
  • You can also link to another Pen here, and we’ll pull the CSS from that Pen and include it.
  • If it’s using a matching preprocessor, we’ll combine the code before preprocessing, so you can use the linked Pen as a true dependency.

Recreated https://dribbble.com/shots/2896850-Animated-DropSplash-Logo-Posibility with React and SVG…
Continue reading “I am Loving this Jelly Fish Splash React Animation see via @CodePen #ReactJs #React”

Game Development with React and PHP: How Compatible Are They? — SitePoint

  • pre: – use Aerys\Router; – use App\Action\HomeAction; – – return (Router $router) = { – $router-route( – “GET”, “/”, new HomeAction – ); – }; – – And, from routes/api.
  • pre: – use Aerys\Router; – use (Router $router) = { – $router-route( – “GET”, “/api”, new HomeAction – ); – }; – – Though simple routes, these helped me to test the code in config.pre.
  • From App\Action; – – use Aerys\Request; – use Aerys\Response; – – class HomeAction – { – public function __invoke(Request $request, – Response $response) – { – $response-end(“hello world”); – } – } – – One final touch was to add shortcut scripts, to launch dev and prod versions of the…
  • From composer.json: – “scripts”: { – “dev”: “vendor/bin/aerys -d -c loader.php”, – “prod”: “vendor/bin/aerys -c loader.php” – }, – “config”: { – “process-timeout”: 0 – }, – – With all of this done, I could spin up a new server, and visit http://127.0.0.1:8080 just by typing: – composer dev -…
  • js”); – – $response-end(” – div class=’app’/div – script src='{$path}’/script – “); – } – – I realized I could keep creating functions that returned promises, and use them in this way to keep my code asynchronous.

Chris bootstraps a basic Stardew-Valley-like game in this game development with PHP post, using an async server, preprocessors, and ReactJS!
Continue reading “Game Development with React and PHP: How Compatible Are They? — SitePoint”