Preact.js : Shopping Cart

@preactjs shopping cart with stock status. Link:  #preactjs #reactjs

  • 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.


Continue reading “Preact.js : Shopping Cart”

A very simple @CodePen example for using #ReactJS Router: #Coding

A very simple @CodePen example for using #ReactJS Router:  #Coding

  • 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.

Simple page navigation using React Router v2.8.1…
Continue reading “A very simple @CodePen example for using #ReactJS Router: #Coding”

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”

React Routing with this.props.children

Routing with #ReactJS using

  • 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.

An example of using React Router (2.8.1) and this.props.children to create page navigation….
Continue reading “React Routing with this.props.children”

Minimal Photo Gallery (ReactJS)

Minimal Image Gallery using @reactjs.  I'm very happy to be sharing on @codepen again! 🙌

  • 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.

Had this idea bubbling around in my head for a while for a simple photo gallery with animations. Decided to get some more React practice in and make it…
Continue reading “Minimal Photo Gallery (ReactJS)”

Expanding Horizontal Accordion in React

That moment when #ReactJS clicks  via @CodePen

  • You can also link to another Pen and we’ll pull the CSS from that Pen and include it.
  • Just put a URL to it and we’ll apply it, in the order you have them, before the CSS in the Pen itself.
  • 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.
  • You can also link to another Pen and we’ll pull the JavaScript from that Pen and include it.
  • You can apply CSS to your Pen from any stylesheet on the web.

A quick alternative to the standard ‘Accordion’ pattern, built completely with React. This was my first jump into ReactJS, so any feedback is welcome….
Continue reading “Expanding Horizontal Accordion in React”

React Native: styled-components

4 lines of code for a 'styled-components' API in React Native (excluding theming)

  • You can also add another Pen and it will pull the CSS from it.
  • If the stylesheet you link to has the file extension of a preprocessor, we’ll attempt to process it before applying.
  • If the script 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 and we’ll pull the CSS from that Pen and include it.
  • HTML preprocessors can make writing HTML more powerful or convenient.

Playground for ‘react-native-web’. Use the https://rnplay.org native simulator to work with ‘react-native’….
Continue reading “React Native: styled-components”