Skip to content

Instantly share code, notes, and snippets.

@damjack
damjack / aaa.md
Last active February 4, 2019 16:20
First React Lesson

React Lessons

https://codesandbox.io

  1. Create a div with a text content "Hello World" and with a stylesheet class "container"
  • VANILLA JS
  • REACT JS
  • JSX
  1. Create a function Message that uses two props, a property "c" for className and a property "txt" for text and return a div with the text styled with that css class
@damjack
damjack / README.md
Last active October 1, 2022 22:24 — forked from webdev1001/gist:e848abef8064c55c2f6443a282f75651
Array values in the parameter to `Gem.paths=` are deprecated.

Array values in the parameter to Gem.paths= are deprecated. Please use a String or nil. An Array (...) was passed in from bin/rails:3:in `load'

Solution

ruby/rubygems#1551

If you came to this issue by googling the error specified in the description of this issue, you should know that it has already been fixed in spring-1.6.4 and all you need to do is to update to latest spring and regenerate binstubs, like this: