Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 03 19:02
    jescalan commented #78
  • May 31 19:42
    HoldYourWaffle commented #78
  • May 31 17:06
    jescalan commented #78
  • May 13 22:20
    HoldYourWaffle commented #78
  • May 13 17:09

    jescalan on v1.0.1

    (compare)

  • May 13 17:09

    jescalan on master

    1.0.1 (compare)

  • May 13 14:33
    jescalan commented #79
  • May 13 12:53
    HoldYourWaffle commented #79
  • May 08 15:08

    jescalan on master

    update custom elements plugin (compare)

  • May 08 14:57
    jescalan closed #65
  • May 08 14:57
    jescalan commented #65
  • May 08 14:56

    jescalan on master

    Fix broken links in README (compare)

  • May 08 14:56
    jescalan closed #80
  • May 08 14:56
    jescalan closed #77
  • May 08 14:56
    jescalan closed #76
  • May 08 14:56
    jescalan closed #75
  • May 08 14:56
    jescalan closed #74
  • May 08 14:56
    jescalan closed #72
  • May 08 14:56
    jescalan closed #58
  • May 08 14:55

    jescalan on master

    dep update, travis node version… (compare)

buckle2000
@buckle2000
Well you can just write a runkit notebook and publish it
zwerdlds
@zwerdlds
Hey does anyone know if Reshape supports nested layouts? I have a repeating section which has a lot of boilerplate and i want to use it inside a child page. Something like:
<extends src='layout.html'>
<block name='content'>
<section class="work-experience-area">
<h2 class='label'>Work Experience</h2>
<extends src='_resume_incumbency.html'>
<block name='title-area-content'>Software Developer IV</block>
</extends>
</section>
</block>
</extends>
Thank you!
Jeff Escalante
@jescalan
a lot of people have reported issues with nesting layouts
i haven't yet run into a situation where i used them, on anything
and i make a lot of pretty complex sites
typically using includes or components is a better solution
zwerdlds
@zwerdlds
Thanks, Jeff. From what I've seen, includes can't contain blocks for variable content, I tried looking but I can't find a good starting point for the example I gave. Do you have a good article to start with?
Jeff Escalante
@jescalan
could you use an include instead?
zwerdlds
@zwerdlds
Yeah, I think that's what I'll do.
Thanks for your help, and thanks for the project!
Jeff Escalante
@jescalan
you got it!
Jonathan Neal
@jonathantneal
I’ve updated Reshape Hfill to support transforming contextual headings (<h>) into HTML5 compatible headings (<h1> - <h6>) https://github.com/jonathantneal/reshape-hfill/
Jeff Escalante
@jescalan
:100:
sakhnenko
@sakhnenko
The TRY THIS OUT on https://reshape.ml/ doesn't seem to work
Jeff Escalante
@jescalan
i know, im sorry! the service behind it has some issues
Mangala Sadhu Sangeet Singh Khalsa
@msssk
does anyone have advice for using components with reshape?
I'm probably on my way to using SkateJS, but in the meantime trying to get a little more mileage out of somewhat plain HTML templates
I've extended reshape-include to provide somewhat more configurable component-like includes:
https://github.com/mkdecisiondev/reshape-component
but I'm wondering if a better approach exists
Jeff Escalante
@jescalan
reshape-preact-components is the ultimate
or react
you write a p/react component, it renders to static, you can rehydrate on the client side if needed
Mangala Sadhu Sangeet Singh Khalsa
@msssk
thanks
I think ultimately that's where I'm headed
but in the near-term we want to get some more mileage out of HTML templates
Jeff Escalante
@jescalan
I don't have a solution for that right now
I have various thoughts and plans on how to make one
but I haven't had the need nor the time to make it myself
if you want to work on it, i'd be happy to help
Mangala Sadhu Sangeet Singh Khalsa
@msssk
I think this will get us pretty far:
https://github.com/mkdecisiondev/reshape-component
I've taken reshape-include and added some parameterization to it
Jeff Escalante
@jescalan
thats great! is that solving your issue
or are you still having problems
Mangala Sadhu Sangeet Singh Khalsa
@msssk
no, I'm pretty happy with it
Jeff Escalante
@jescalan
:raised_hands:
then you have made something great!
Mangala Sadhu Sangeet Singh Khalsa
@msssk
it allows me to specify extra attributes and content and have that passed through to the included template
Jeff Escalante
@jescalan
this is something a good number of people have expressed interest in
Mangala Sadhu Sangeet Singh Khalsa
@msssk
I'll try and publish it to npm soon
for now it's public on github
Jeff Escalante
@jescalan
yeah definitely, once it's on npm, try dropping it into the static dev slack
im sure some people would be interested there as well
Mangala Sadhu Sangeet Singh Khalsa
@msssk
👍
Avi Goldman
@avigoldman

Hey everyone 👋 just found and am starting to play around. Looks awesome!

I hit an error running the example in the plugin-util repo - reshape/plugin-util#30

Jeff Escalante
@jescalan
Hey @avigoldman! Thanks so much for catching this and for the contribution :)
Avi Goldman
@avigoldman
'Course 🙌
Behind The Beard
@Behind_Beard_twitter
Hey guys, how's it going. I'm new to using Reshape and I'm struggling to find any information on if it is possible to log the objects to the browser console log?
I want to inspect an object that is being passed to Reshape, but have no idea how to do it